#D687EF#D687EF
#D687EF is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.3% C 0.166 H 317.7°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #D687EF |
|---|---|
| RGB | rgb(214, 135, 239) |
| HSL | hsl(286, 76%, 73%) |
| HSV | hsv(286, 44%, 94%) |
| CMYK | cmyk(10.5%, 43.5%, 0%, 6.3%) |
| CIE-LAB | lab(67.92, 47.16, -40.35) |
| CIE-LCH | lch(67.92, 62.07, 319.46°) |
| OKLab | oklab(74.27% 0.1225 -0.1114) |
| OKLCH | oklch(74.27% 0.166 317.7) |
| XYZ | xyz(51.9733, 37.8577, 86.2141) |
| Luminance | 0.3786 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.45
Liliac
#C48EFD
ΔE00 5.24
Lavender Pink
#DD85D7
ΔE00 5.29
Baby Purple
#CA9BF7
ΔE00 5.86
Purply Pink
#F075E6
ΔE00 6.01
Orchid
#DA70D6
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D687EF #A0EF87
analogous
#A287EF #D687EF #EF87D4
triadic
#D687EF #EFD687 #87EFD6
tetradic
#D687EF #EFA287 #A0EF87 #87D4EF
square
#D687EF #EFA287 #A0EF87 #87D4EF
split-complementary
#D687EF #D4EF87 #87EFA2
monochromatic
#B01EDE #C451E8 #D687EF #E8BDF6 #F6E4FB
Accessibility & contrast
On white
2.45
#D687EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.57
#D687EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D687EF
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D687EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D687EF | 1.00 | 2.45 | 8.57 | 8.57 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76A0F3
Deuteranopia (green-blind)
#8BA8EC
Tritanopia (blue-blind)
#D695B0
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #d687ef; /* rgb */ color: rgb(214, 135, 239); /* oklch */ color: oklch(74.3% 0.166 317.7);
Tailwind
colors: {
custom: {
50: '#e4acf4',
500: '#d687ef',
950: '#000000',
},
}SCSS
$custom: #d687ef; $custom-light: #e4acf4; $custom-dark: #000000;
JSON
{
"hex": "#d687ef",
"rgb": {
"r": 214,
"g": 135,
"b": 239
},
"hsl": {
"h": 285.577,
"s": 76.471,
"l": 73.333
},
"oklch": {
"l": 0.74269,
"c": 0.16558,
"h": 317.7
},
"luminance": 0.37856
}Semantic roles & 50–950 ramp
primary
#D687EF
secondary
#DEF3D8
accent
#D90D3E
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85