#D79CFA#D79CFA
#D79CFA is a light, vivid violet. Relative luminance 0.451; OKLCH L 78.3% C 0.143 H 312.2°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #D79CFA |
|---|---|
| RGB | rgb(215, 156, 250) |
| HSL | hsl(278, 90%, 80%) |
| HSV | hsv(278, 38%, 98%) |
| CMYK | cmyk(14%, 37.6%, 0%, 2%) |
| CIE-LAB | lab(72.98, 38.54, -38.45) |
| CIE-LCH | lch(72.98, 54.44, 315.06°) |
| OKLab | oklab(78.25% 0.0961 -0.1061) |
| OKLCH | oklch(78.25% 0.143 312.2) |
| XYZ | xyz(57.1652, 45.1271, 96.1229) |
| Luminance | 0.4513 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.49
Lilac (survey)
#CEA2FD
ΔE00 2.79
Pastel Purple
#CAA0FF
ΔE00 3.48
Lavender (survey)
#C79FEF
ΔE00 3.54
Mauve
#E0B0FF
ΔE00 4.92
Liliac
#C48EFD
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D79CFA #BFFA9C
analogous
#A89CFA #D79CFA #FA9CEE
triadic
#D79CFA #FAD79C #9CFAD7
tetradic
#D79CFA #FAA89C #BFFA9C #9CEEFA
square
#D79CFA #FAA89C #BFFA9C #9CEEFA
split-complementary
#D79CFA #EEFA9C #9CFAA8
monochromatic
#A827F4 #BF62F7 #D79CFA #EFD6FD #F3E2FE
Accessibility & contrast
On white
2.09
#D79CFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.03
#D79CFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D79CFA
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D79CFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D79CFA | 1.00 | 2.09 | 10.03 | 10.03 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8BB0FE
Deuteranopia (green-blind)
#99B4F7
Tritanopia (blue-blind)
#D4A9BF
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #d79cfa; /* rgb */ color: rgb(215, 156, 250); /* oklch */ color: oklch(78.3% 0.143 312.2);
Tailwind
colors: {
custom: {
50: '#e4bafc',
500: '#d79cfa',
950: '#000000',
},
}SCSS
$custom: #d79cfa; $custom-light: #e4bafc; $custom-dark: #000000;
JSON
{
"hex": "#d79cfa",
"rgb": {
"r": 215,
"g": 156,
"b": 250
},
"hsl": {
"h": 277.66,
"s": 90.385,
"l": 79.608
},
"oklch": {
"l": 0.7825,
"c": 0.14319,
"h": 312.2
},
"luminance": 0.45126
}Semantic roles & 50–950 ramp
primary
#D79CFA
secondary
#E1F6D5
accent
#E60055
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085