#D79EFC#D79EFC
#D79EFC is a light, vivid violet. Relative luminance 0.459; OKLCH L 78.7% C 0.142 H 311.2°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #D79EFC |
|---|---|
| RGB | rgb(215, 158, 252) |
| HSL | hsl(276, 94%, 80%) |
| HSV | hsv(276, 37%, 99%) |
| CMYK | cmyk(14.7%, 37.3%, 0%, 1.2%) |
| CIE-LAB | lab(73.50, 37.88, -38.72) |
| CIE-LCH | lch(73.50, 54.17, 314.37°) |
| OKLab | oklab(78.67% 0.0937 -0.1069) |
| OKLCH | oklch(78.67% 0.142 311.2) |
| XYZ | xyz(57.8188, 45.9300, 97.8961) |
| Luminance | 0.4593 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 2.37
Baby Purple
#CA9BF7
ΔE00 2.40
Pastel Purple
#CAA0FF
ΔE00 3.13
Lavender (survey)
#C79FEF
ΔE00 3.41
Mauve
#E0B0FF
ΔE00 4.56
Pale Violet
#CEAEFA
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D79EFC #C3FC9E
analogous
#A89EFC #D79EFC #FC9EF2
triadic
#D79EFC #FCD79E #9EFCD7
tetradic
#D79EFC #FCA89E #C3FC9E #9EF2FC
square
#D79EFC #FCA89E #C3FC9E #9EF2FC
split-complementary
#D79EFC #F2FC9E #9EFCA8
monochromatic
#A627F8 #BF63FA #D79EFC #EFD9FE #F3E1FE
Accessibility & contrast
On white
2.06
#D79EFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.19
#D79EFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D79EFC
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D79EFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D79EFC | 1.00 | 2.06 | 10.19 | 10.19 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#9AB6F9
Tritanopia (blue-blind)
#D3ABC1
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #d79efc; /* rgb */ color: rgb(215, 158, 252); /* oklch */ color: oklch(78.7% 0.142 311.2);
Tailwind
colors: {
custom: {
50: '#e4bbfd',
500: '#d79efc',
950: '#000000',
},
}SCSS
$custom: #d79efc; $custom-light: #e4bbfd; $custom-dark: #000000;
JSON
{
"hex": "#d79efc",
"rgb": {
"r": 215,
"g": 158,
"b": 252
},
"hsl": {
"h": 276.383,
"s": 94,
"l": 80.392
},
"oklch": {
"l": 0.78674,
"c": 0.14216,
"h": 311.2
},
"luminance": 0.45929
}Semantic roles & 50–950 ramp
primary
#D79EFC
secondary
#E2F6D5
accent
#E6005A
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185