CSS named color
Orchid #DA70D6
Orchid (CSS keyword orchid) has the hex code #DA70D6 and the RGB value rgb(218, 112, 214): a light, vivid magenta.
Named after the orchid flower: a light pinkish purple (#da70d6). It is the base of the orchid family, with mediumorchid and darkorchid as deeper versions.
Color codes for Orchid
| CSS keyword | orchid |
|---|---|
| HEX | #DA70D6 |
| RGB | rgb(218, 112, 214) |
| HSL | hsl(302, 59%, 65%) |
| HWB | hwb(302 44% 15%) |
| OKLCH | oklch(70.2% 0.181 328.7) |
| CMYK (naive, no ICC profile) | cmyk(0%, 49%, 2%, 15%) |
| Decimal | 14,315,734 |
| Hue family | Purples and violets |
Contrast and accessibility
On orchid, black text has a contrast ratio of 7.26:1 and passes AAA at any text size; white text reaches 2.88:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on orchid | 7.26:1 | Pass | Pass | Pass | Pass | 49.3 |
| White text on orchid | 2.88:1 | Fail | Fail | Fail | Fail | −60.0 |
| Orchid text on white | 2.88:1 | Fail | Fail | Fail | Fail | 54.7 |
| Orchid text on black | 7.26:1 | Pass | Pass | Pass | Pass | −47.1 |
Tints and shades
Each step mixes orchid with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, orchid, white 25%) in CSS.
Tints (mixed with white)
- 5%
#dc77d8 - 15%
#e085dc - 25%
#e394e0 - 35%
#e7a2e4 - 45%
#ebb0e8 - 55%
#eebfed - 65%
#f2cdf1 - 75%
#f6dbf5 - 85%
#f9eaf9 - 95%
#fdf8fd
Shades (mixed with black)
- 5%
#cf6acb - 15%
#b95fb6 - 25%
#a454a1 - 35%
#8e498b - 45%
#783e76 - 55%
#623260 - 65%
#4c274b - 75%
#371c36 - 85%
#211120 - 95%
#0b060b
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, orchid's complementary color is #30BC5A (close to mediumseagreen), its analogous colors are #AF81FF and #F4669D, and its triadic partners are #C89700 and #00B6CD. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #30bc5a |
| Analogous | −30°, +30° | #af81ff#f4669d |
| Triadic | +120°, +240° | #c89700#00b6cd |
| Split-complementary | +150°, +210° | #95ad00#00bca0 |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
Orchid sits on the boundary: its hue of 302° on the HSL wheel is a magenta, which reads warm next to blues and cool next to reds and oranges.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| violet | #ee82ee | 6.0 |
| hotpink | #ff69b4 | 8.2 |
| mediumorchid | #ba55d3 | 8.6 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| fuchsia-400 | #ed6aff | 7.2 |
| pink-400 | #fb64b6 | 7.5 |
| purple-400 | #c27aff | 8.1 |
Code snippets
.element {
color: orchid;
background-color: #da70d6;
border-color: rgb(218 112 214);
outline-color: oklch(70.2% 0.181 328.7);
}<div class="bg-[#da70d6] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-orchid: #da70d6;
}
/* then use bg-orchid, text-orchid, border-orchid */import SwiftUI
extension Color {
static let orchid = Color(red: 0.855, green: 0.439, blue: 0.839)
}import androidx.compose.ui.graphics.Color
val Orchid = Color(0xFFDA70D6)import 'package:flutter/material.dart';
const orchid = Color(0xFFDA70D6);<!-- res/values/colors.xml -->
<color name="orchid">#DA70D6</color>Frequently asked questions
- What is the hex code for orchid?
- The hex code for orchid is #DA70D6. The same color is rgb(218, 112, 214), hsl(302, 59%, 65%) and oklch(70.2% 0.181 328.7), and in CSS you can also write the keyword orchid directly.
- Is orchid a warm or cool color?
- Orchid sits on the boundary: its hue of 302° on the HSL wheel is a magenta, which reads warm next to blues and cool next to reds and oranges.
- What colors go with orchid?
- Rotating the hue in OKLCH while keeping lightness and chroma, orchid's complementary color is #30BC5A (close to mediumseagreen), its analogous colors are #AF81FF and #F4669D, and its triadic partners are #C89700 and #00B6CD. For text on top, black gives the higher contrast.
- Can you use white text on orchid?
- White text on orchid has a contrast ratio of 2.88:1, which fails AA even for large text under WCAG 2.2. Black text reaches 7.26:1 and passes both AA and AAA. In APCA terms that is Lc −60.0 for white and Lc 49.3 for black.
- What is the RGB value of orchid?
- Orchid is rgb(218, 112, 214): red 218, green 112 and blue 214 on the 0 to 255 scale, or 85.5%, 43.9% and 83.9%. As a decimal integer it is 14315734.
Last reviewed by Arielton Oberek.