#D686EC#D686EC
#D686EC is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.0% C 0.164 H 318.7°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #D686EC |
|---|---|
| RGB | rgb(214, 134, 236) |
| HSL | hsl(287, 73%, 73%) |
| HSV | hsv(287, 43%, 93%) |
| CMYK | cmyk(9.3%, 43.2%, 0%, 7.5%) |
| CIE-LAB | lab(67.58, 47.09, -39.22) |
| CIE-LCH | lch(67.58, 61.29, 320.21°) |
| OKLab | oklab(73.98% 0.1234 -0.1082) |
| OKLCH | oklch(73.98% 0.164 318.7) |
| XYZ | xyz(51.3950, 37.4041, 83.8530) |
| Luminance | 0.3740 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.23
Lavender Pink
#DD85D7
ΔE00 4.80
Purply Pink
#F075E6
ΔE00 5.67
Liliac
#C48EFD
ΔE00 5.68
Orchid
#DA70D6
ΔE00 5.83
Baby Purple
#CA9BF7
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D686EC #9CEC86
analogous
#A386EC #D686EC #EC86CF
triadic
#D686EC #ECD686 #86ECD6
tetradic
#D686EC #ECA386 #9CEC86 #86CFEC
square
#D686EC #ECA386 #9CEC86 #86CFEC
split-complementary
#D686EC #CFEC86 #86ECA3
monochromatic
#AF22D6 #C451E4 #D686EC #E8BBF4 #F6E5FB
Accessibility & contrast
On white
2.48
#D686EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#D686EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D686EC
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D686EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D686EC | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#769FF0
Deuteranopia (green-blind)
#8CA7E9
Tritanopia (blue-blind)
#D793AE
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #d686ec; /* rgb */ color: rgb(214, 134, 236); /* oklch */ color: oklch(74.0% 0.164 318.7);
Tailwind
colors: {
custom: {
50: '#e4abf2',
500: '#d686ec',
950: '#000000',
},
}SCSS
$custom: #d686ec; $custom-light: #e4abf2; $custom-dark: #000000;
JSON
{
"hex": "#d686ec",
"rgb": {
"r": 214,
"g": 134,
"b": 236
},
"hsl": {
"h": 287.059,
"s": 72.857,
"l": 72.549
},
"oklch": {
"l": 0.73975,
"c": 0.16408,
"h": 318.7
},
"luminance": 0.37402
}Semantic roles & 50–950 ramp
primary
#D686EC
secondary
#DEF3D8
accent
#D5113B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85