#D78DFF#D78DFF
#D78DFF is a light, vivid violet. Relative luminance 0.407; OKLCH L 76.1% C 0.174 H 312.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #D78DFF |
|---|---|
| RGB | rgb(215, 141, 255) |
| HSL | hsl(279, 100%, 78%) |
| HSV | hsv(279, 45%, 100%) |
| CMYK | cmyk(15.7%, 44.7%, 0%, 0%) |
| CIE-LAB | lab(69.98, 47.56, -45.86) |
| CIE-LCH | lch(69.98, 66.07, 316.05°) |
| OKLab | oklab(76.07% 0.1179 -0.1273) |
| OKLCH | oklch(76.07% 0.174 312.8) |
| XYZ | xyz(55.5962, 40.7180, 99.5190) |
| Luminance | 0.4072 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.59
Baby Purple
#CA9BF7
ΔE00 4.58
Pastel Purple
#CAA0FF
ΔE00 5.62
Lilac (survey)
#CEA2FD
ΔE00 5.70
Violet (CSS)
#EE82EE
ΔE00 6.15
Lavender (survey)
#C79FEF
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D78DFF #B5FF8D
analogous
#9E8DFF #D78DFF #FF8DEE
triadic
#D78DFF #FFD78D #8DFFD7
tetradic
#D78DFF #FF9E8D #B5FF8D #8DEEFF
square
#D78DFF #FF9E8D #B5FF8D #8DEEFF
split-complementary
#D78DFF #EEFF8D #8DFF9E
monochromatic
#AC13FF #C250FF #D78DFF #ECCAFF #F4E0FF
Accessibility & contrast
On white
2.30
#D78DFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#D78DFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D78DFF
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D78DFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D78DFF | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75A7FF
Deuteranopia (green-blind)
#89ADFC
Tritanopia (blue-blind)
#D39EBA
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #d78dff; /* rgb */ color: rgb(215, 141, 255); /* oklch */ color: oklch(76.1% 0.174 312.8);
Tailwind
colors: {
custom: {
50: '#e5b0ff',
500: '#d78dff',
950: '#000000',
},
}SCSS
$custom: #d78dff; $custom-light: #e5b0ff; $custom-dark: #000000;
JSON
{
"hex": "#d78dff",
"rgb": {
"r": 215,
"g": 141,
"b": 255
},
"hsl": {
"h": 278.947,
"s": 100,
"l": 77.647
},
"oklch": {
"l": 0.76068,
"c": 0.17355,
"h": 312.8
},
"luminance": 0.40717
}Semantic roles & 50–950 ramp
primary
#D78DFF
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161118
muted
#848086