#D678F2#D678F2
#D678F2 is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.2% C 0.193 H 318.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #D678F2 |
|---|---|
| RGB | rgb(214, 120, 242) |
| HSL | hsl(286, 82%, 71%) |
| HSV | hsv(286, 50%, 95%) |
| CMYK | cmyk(11.6%, 50.4%, 0%, 5.1%) |
| CIE-LAB | lab(65.07, 55.43, -46.45) |
| CIE-LCH | lch(65.07, 72.33, 320.04°) |
| OKLab | oklab(72.2% 0.1434 -0.129) |
| OKLCH | oklch(72.2% 0.193 318) |
| XYZ | xyz(50.4728, 34.1417, 87.9185) |
| Luminance | 0.3414 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.59
Orchid
#DA70D6
ΔE00 5.21
Easter Purple
#C071FE
ΔE00 5.41
Violet (CSS)
#EE82EE
ΔE00 5.49
Purply Pink
#F075E6
ΔE00 5.69
Violet Pink
#FB5FFC
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D678F2 #94F278
analogous
#9978F2 #D678F2 #F278D1
triadic
#D678F2 #F2D678 #78F2D6
tetradic
#D678F2 #F29978 #94F278 #78D1F2
square
#D678F2 #F29978 #94F278 #78D1F2
split-complementary
#D678F2 #D1F278 #78F299
monochromatic
#AD15DB #C540ED #D678F2 #E7B0F7 #F7E3FC
Accessibility & contrast
On white
2.68
#D678F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#D678F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D678F2
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D678F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D678F2 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6098F6
Deuteranopia (green-blind)
#7DA1EF
Tritanopia (blue-blind)
#D68AAA
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #d678f2; /* rgb */ color: rgb(214, 120, 242); /* oklch */ color: oklch(72.2% 0.193 318.0);
Tailwind
colors: {
custom: {
50: '#e5a2f7',
500: '#d678f2',
950: '#000000',
},
}SCSS
$custom: #d678f2; $custom-light: #e5a2f7; $custom-dark: #000000;
JSON
{
"hex": "#d678f2",
"rgb": {
"r": 214,
"g": 120,
"b": 242
},
"hsl": {
"h": 286.23,
"s": 82.432,
"l": 70.98
},
"oklch": {
"l": 0.72202,
"c": 0.19289,
"h": 318
},
"luminance": 0.3414
}Semantic roles & 50–950 ramp
primary
#D678F2
secondary
#DAF3D3
accent
#DF0738
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85