#D678EC#D678EC
#D678EC is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.9% C 0.187 H 319.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #D678EC |
|---|---|
| RGB | rgb(214, 120, 236) |
| HSL | hsl(289, 75%, 70%) |
| HSV | hsv(289, 49%, 93%) |
| CMYK | cmyk(9.3%, 49.2%, 0%, 7.5%) |
| CIE-LAB | lab(64.79, 54.26, -43.58) |
| CIE-LCH | lch(64.79, 69.60, 321.23°) |
| OKLab | oklab(71.9% 0.1427 -0.1207) |
| OKLCH | oklch(71.9% 0.187 319.8) |
| XYZ | xyz(49.5864, 33.7871, 83.2502) |
| Luminance | 0.3378 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.28
Violet (CSS)
#EE82EE
ΔE00 5.05
Purply Pink
#F075E6
ΔE00 5.08
Light Purple
#BF77F6
ΔE00 5.20
Light Magenta
#FA5FF7
ΔE00 6.03
Lavender Pink
#DD85D7
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D678EC #8EEC78
analogous
#9C78EC #D678EC #EC78C8
triadic
#D678EC #ECD678 #78ECD6
tetradic
#D678EC #EC9C78 #8EEC78 #78C8EC
square
#D678EC #EC9C78 #8EEC78 #78C8EC
split-complementary
#D678EC #C8EC78 #78EC9C
monochromatic
#AB1DCD #C642E4 #D678EC #E6AEF4 #F7E3FB
Accessibility & contrast
On white
2.71
#D678EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#D678EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D678EC
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D678EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D678EC | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6497F0
Deuteranopia (green-blind)
#80A1E9
Tritanopia (blue-blind)
#D788A7
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #d678ec; /* rgb */ color: rgb(214, 120, 236); /* oklch */ color: oklch(71.9% 0.187 319.8);
Tailwind
colors: {
custom: {
50: '#e5a2f2',
500: '#d678ec',
950: '#000000',
},
}SCSS
$custom: #d678ec; $custom-light: #e5a2f2; $custom-dark: #000000;
JSON
{
"hex": "#d678ec",
"rgb": {
"r": 214,
"g": 120,
"b": 236
},
"hsl": {
"h": 288.621,
"s": 75.325,
"l": 69.804
},
"oklch": {
"l": 0.71902,
"c": 0.18687,
"h": 319.8
},
"luminance": 0.33785
}Semantic roles & 50–950 ramp
primary
#D678EC
secondary
#D6F0D0
accent
#D70E34
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85