CSS named color
Orchid #DA70D6
The CSS keyword orchid is #DA70D6. It is a light vivid magenta in the violet family. In OKLCH it sits at lightness 0.702, chroma 0.181 and hue 328.7°.
- Relative luminance
- 0.3135
- OKLCH L · C · h
- 0.702 · 0.181 · 328.7
- Best text
- Black 7.26:1
- Hue family
- Violet
#DA70D6 color codes
- HEX
#DA70D6- RGB
rgb(218, 112, 214)- HSL
hsl(302, 59%, 65%)- OKLCH
oklch(0.702 0.181 328.7)- OKLab
oklab(0.702 0.155 -0.094)- CIELAB (D65)
L* 62.80, a* 55.28, b* -34.40- XYZ (D65)
X 46.84, Y 31.35, Z 67.19- CMYK (naive)
cmyk(0%, 49%, 2%, 15%)
CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.
Legibility
Contrast: is #DA70D6 accessible?
Black text on it reaches 7.26:1, passing AAA. White text fails at 2.88:1.
WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.
Open the Contrast System-
Black text on it
7.26:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc +49
-
White text on it
2.88:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc −60
-
As text on black
7.26:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc −47
-
As text on white
2.88:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc +54
Nearest versions that pass 4.5:1
-
For text on white
#B34CB1 4.57:1
Darkening its OKLCH lightness from 0.70 to 0.59 reaches 4.57:1 on white, keeping the hue.
-
For text on black
#DA70D6 7.26:1
It already reaches 7.26:1 on black, so no change is needed.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #DA70D6 live
Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.
Scale
Shades and tints of #DA70D6
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #DA70D6 sits at step 400.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Gamut
How vivid #DA70D6 can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.320; #DA70D6 uses 57% of it. Display P3, which many recent phones and laptops show, reaches 0.352 there: 10% more.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.181
- sRGB edge
- 0.320
- Display P3 edge
- 0.352
- Rec. 2020 edge
- 0.365
- Dominant wavelength
- Complementary 547 nm
- Excitation purity
- 45%
- Chromaticity
- x 0.3222, y 0.2156
- This color#DA70D6
- Most vivid in sRGB#FF0AFD
- Most vivid in Display P3oklch(0.702 0.352 328.7)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #da70d6;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 0.9441 0 0.9947); }
}
Mixing
Mixing #DA70D6
Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.
White #FFFFFF
- sRGB50%#EDB8EB
- OKLab50%#F0B9EC
- OKLCH50%#F0B9EC
Black #000000
- sRGB50%#6D386B
- OKLab50%#542752
- OKLCH50%#542752
Its complement #30BC5A
- sRGB50%#859698
- OKLab50%#9F9F9F
- OKLCH50%#00AAF5
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #da70d6, white);
color: color-mix(in oklch, #da70d6 50%, white);
In use
#DA70D6 in an interface
A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.
Light page
- Button labelText, 4.5:17.26:1 Passes
- Link and body-size textText, 4.5:12.88:1 Fails
- Large headingLarge text, 3:12.88:1 Fails
- Icons, borders and focus ringsNon-text, 3:12.88:1 Fails
For text on this page, the nearest shade that passes is #B34CB1 4.57:1
Dark page
- Button labelText, 4.5:17.26:1 Passes
- Link and body-size textText, 4.5:16.48:1 Passes
- Large headingLarge text, 3:16.48:1 Passes
- Icons, borders and focus ringsNon-text, 3:16.48:1 Passes
Color vision
How #DA70D6 looks with color blindness
Protanopia changes it most, ΔE2000 29.1; tritanopia changes it least, 15.4.
Simulated with Machado et al. (2009) at full severity, in linear light.
Simulate a whole page What each type sees-
Protanopia
No working red (long-wavelength) cones
#688FD9 ΔE2000 29.1
Distinct
Reads as soft blue
-
Deuteranopia
No working green (medium-wavelength) cones
#879DD3 ΔE2000 25.6
Distinct
Reads as light muted blue
-
Tritanopia
No working blue (short-wavelength) cones
#E07A99 ΔE2000 15.4
Distinct
Reads as light soft pink
-
Achromatopsia
No cone color vision; lightness only
#989898 ΔE2000 26.7
Distinct
Reads as gray
Pairing check
Checked against its complement, #30BC5A. Their lightness contrast is only 1.16:1, so where hue collapses, add a label, icon or pattern.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #DA70D6 · #30BC5A | 82.6 | Stays distinct |
| Protanopia | #688FD9 · #BEAB51 | 50.9 | Stays distinct |
| Deuteranopia | #879DD3 · #ADA061 | 41.6 | Stays distinct |
| Tritanopia | #E07A99 · #00B8A6 | 60.7 | Stays distinct |
| Achromatopsia | #989898 · #A4A4A4 | 3.7 | Easily confused |
Harmony
Color harmonies for #DA70D6
Its complement is #30BC5A, a light vivid green.
Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.
Open the Harmony Studio- Base#DA70D6
- Complement#30BC5A
Complementary
Open in Harmony Studio- −30°#AF81FF
- Base#DA70D6
- +30°#F4669D
Analogous
Open in Harmony Studio- Base#DA70D6
- +120°#C39900
- +240°#00B3C7
Triadic
Open in Harmony Studio- Base#DA70D6
- +150°#95AC00
- +210°#00B9A0
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-orchid: #da70d6;
}
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
orchid: '#da70d6',
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
--color-orchid: oklch(0.702 0.181 328.7);
}
{
"color": {
"orchid": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.8549, 0.4392, 0.8392],
"hex": "#da70d6"
},
"$description": "CSS named color orchid"
}
}
}
import SwiftUI
enum Palette {
static let orchid = Color(.sRGB, red: 0.855, green: 0.439, blue: 0.839, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Orchid = Color(0xFFDA70D6)
}
Matches
The nearest match in each system
The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.
Tools
Open #DA70D6 in the tools
Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.