#C79DFD#C79DFD
#C79DFD is a light, vivid violet. Relative luminance 0.433; OKLCH L 77.0% C 0.140 H 303.4°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #C79DFD |
|---|---|
| RGB | rgb(199, 157, 253) |
| HSL | hsl(266, 96%, 80%) |
| HSV | hsv(266, 38%, 99%) |
| CMYK | cmyk(21.3%, 37.9%, 0%, 0.8%) |
| CIE-LAB | lab(71.79, 34.00, -42.04) |
| CIE-LCH | lch(71.79, 54.07, 308.96°) |
| OKLab | oklab(77.04% 0.077 -0.1167) |
| OKLCH | oklch(77.04% 0.14 303.4) |
| XYZ | xyz(53.3361, 43.3480, 98.4666) |
| Luminance | 0.4335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 0.82
Baby Purple
#CA9BF7
ΔE00 1.56
Lilac (survey)
#CEA2FD
ΔE00 1.81
Lavender (survey)
#C79FEF
ΔE00 2.91
Liliac
#C48EFD
ΔE00 3.85
Pale Violet
#CEAEFA
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C79DFD #D3FD9D
analogous
#9DA3FD #C79DFD #F79DFD
triadic
#C79DFD #FDC79D #9DFDC7
tetradic
#C79DFD #FD9DA3 #D3FD9D #9DFDF7
square
#C79DFD #FD9DA3 #D3FD9D #9DFDF7
split-complementary
#C79DFD #FDF79D #A3FD9D
monochromatic
#8225FB #A561FC #C79DFD #E9D9FE #EEE1FE
Accessibility & contrast
On white
2.17
#C79DFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#C79DFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C79DFD
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C79DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C79DFD | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#8FB0FA
Tritanopia (blue-blind)
#BEACC1
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c79dfd; /* rgb */ color: rgb(199, 157, 253); /* oklch */ color: oklch(77.0% 0.140 303.4);
Tailwind
colors: {
custom: {
50: '#d9bafe',
500: '#c79dfd',
950: '#000000',
},
}SCSS
$custom: #c79dfd; $custom-light: #d9bafe; $custom-dark: #000000;
JSON
{
"hex": "#c79dfd",
"rgb": {
"r": 199,
"g": 157,
"b": 253
},
"hsl": {
"h": 266.25,
"s": 96,
"l": 80.392
},
"oklch": {
"l": 0.77039,
"c": 0.13986,
"h": 303.4
},
"luminance": 0.43348
}Semantic roles & 50–950 ramp
primary
#C79DFD
secondary
#E8F7D4
accent
#E60081
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086