#D681EF#D681EF
#D681EF is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.4% C 0.175 H 318.2°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #D681EF |
|---|---|
| RGB | rgb(214, 129, 239) |
| HSL | hsl(286, 77%, 72%) |
| HSV | hsv(286, 46%, 94%) |
| CMYK | cmyk(10.5%, 46%, 0%, 6.3%) |
| CIE-LAB | lab(66.70, 50.28, -42.25) |
| CIE-LCH | lch(66.70, 65.68, 319.96°) |
| OKLab | oklab(73.36% 0.1308 -0.1169) |
| OKLCH | oklch(73.36% 0.175 318.2) |
| XYZ | xyz(51.1597, 36.2303, 85.9429) |
| Luminance | 0.3623 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.50
Orchid
#DA70D6
ΔE00 5.48
Purply Pink
#F075E6
ΔE00 5.51
Lavender Pink
#DD85D7
ΔE00 5.60
Light Purple
#BF77F6
ΔE00 5.63
Liliac
#C48EFD
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D681EF #9AEF81
analogous
#9F81EF #D681EF #EF81D1
triadic
#D681EF #EFD681 #81EFD6
tetradic
#D681EF #EF9F81 #9AEF81 #81D1EF
square
#D681EF #EF9F81 #9AEF81 #81D1EF
split-complementary
#D681EF #D1EF81 #81EF9F
monochromatic
#AF1CDA #C44BE8 #D681EF #E8B7F6 #F6E4FC
Accessibility & contrast
On white
2.55
#D681EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#D681EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D681EF
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D681EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D681EF | 1.00 | 2.55 | 8.25 | 8.25 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9DF3
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#D690AD
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #d681ef; /* rgb */ color: rgb(214, 129, 239); /* oklch */ color: oklch(73.4% 0.175 318.2);
Tailwind
colors: {
custom: {
50: '#e4a8f4',
500: '#d681ef',
950: '#000000',
},
}SCSS
$custom: #d681ef; $custom-light: #e4a8f4; $custom-dark: #000000;
JSON
{
"hex": "#d681ef",
"rgb": {
"r": 214,
"g": 129,
"b": 239
},
"hsl": {
"h": 286.364,
"s": 77.465,
"l": 72.157
},
"oklch": {
"l": 0.73359,
"c": 0.17543,
"h": 318.2
},
"luminance": 0.36229
}Semantic roles & 50–950 ramp
primary
#D681EF
secondary
#DEF3D8
accent
#DA0C3B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85