#D79EFB#D79EFB
#D79EFB is a light, vivid violet. Relative luminance 0.459; OKLCH L 78.6% C 0.141 H 311.5°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #D79EFB |
|---|---|
| RGB | rgb(215, 158, 251) |
| HSL | hsl(277, 92%, 80%) |
| HSV | hsv(277, 37%, 98%) |
| CMYK | cmyk(14.3%, 37.1%, 0%, 1.6%) |
| CIE-LAB | lab(73.46, 37.67, -38.24) |
| CIE-LCH | lch(73.46, 53.68, 314.57°) |
| OKLab | oklab(78.63% 0.0935 -0.1055) |
| OKLCH | oklch(78.63% 0.141 311.5) |
| XYZ | xyz(57.6608, 45.8667, 97.0637) |
| Luminance | 0.4587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 2.44
Baby Purple
#CA9BF7
ΔE00 2.44
Pastel Purple
#CAA0FF
ΔE00 3.23
Lavender (survey)
#C79FEF
ΔE00 3.35
Mauve
#E0B0FF
ΔE00 4.50
Pale Violet
#CEAEFA
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D79EFB #C2FB9E
analogous
#A89EFB #D79EFB #FB9EF1
triadic
#D79EFB #FBD79E #9EFBD7
tetradic
#D79EFB #FBA89E #C2FB9E #9EF1FB
square
#D79EFB #FBA89E #C2FB9E #9EF1FB
split-complementary
#D79EFB #F1FB9E #9EFBA8
monochromatic
#A728F6 #BF63F9 #D79EFB #EFD9FD #F3E2FE
Accessibility & contrast
On white
2.06
#D79EFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.17
#D79EFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D79EFB
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D79EFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D79EFB | 1.00 | 2.06 | 10.17 | 10.17 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DB1FF
Deuteranopia (green-blind)
#9AB6F8
Tritanopia (blue-blind)
#D3ABC1
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #d79efb; /* rgb */ color: rgb(215, 158, 251); /* oklch */ color: oklch(78.6% 0.141 311.5);
Tailwind
colors: {
custom: {
50: '#e4bbfd',
500: '#d79efb',
950: '#000000',
},
}SCSS
$custom: #d79efb; $custom-light: #e4bbfd; $custom-dark: #000000;
JSON
{
"hex": "#d79efb",
"rgb": {
"r": 215,
"g": 158,
"b": 251
},
"hsl": {
"h": 276.774,
"s": 92.079,
"l": 80.196
},
"oklch": {
"l": 0.78629,
"c": 0.141,
"h": 311.5
},
"luminance": 0.45866
}Semantic roles & 50–950 ramp
primary
#D79EFB
secondary
#E2F6D5
accent
#E60059
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161217
muted
#848185