#C799EB#C799EB
#C799EB is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.5% C 0.124 H 309.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #C799EB |
|---|---|
| RGB | rgb(199, 153, 235) |
| HSL | hsl(274, 67%, 76%) |
| HSV | hsv(274, 35%, 92%) |
| CMYK | cmyk(15.3%, 34.9%, 0%, 7.8%) |
| CIE-LAB | lab(70.12, 32.24, -34.83) |
| CIE-LCH | lch(70.12, 47.46, 312.79°) |
| OKLab | oklab(75.53% 0.0788 -0.096) |
| OKLCH | oklch(75.53% 0.124 309.4) |
| XYZ | xyz(49.9371, 40.9233, 83.8494) |
| Luminance | 0.4092 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 1.67
Baby Purple
#CA9BF7
ΔE00 2.07
Lilac (survey)
#CEA2FD
ΔE00 3.26
Pastel Purple
#CAA0FF
ΔE00 3.61
Pale Purple
#B790D4
ΔE00 4.39
Liliac
#C48EFD
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C799EB #BDEB99
analogous
#9E99EB #C799EB #EB99E6
triadic
#C799EB #EBC799 #99EBC7
tetradic
#C799EB #EB9E99 #BDEB99 #99E6EB
square
#C799EB #EB9E99 #BDEB99 #99E6EB
split-complementary
#C799EB #E6EB99 #99EB9E
monochromatic
#8F33D7 #AB66E1 #C799EB #E3CCF5 #F1E5FA
Accessibility & contrast
On white
2.29
#C799EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#C799EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C799EB
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C799EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C799EB | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89A9EE
Deuteranopia (green-blind)
#94ACE9
Tritanopia (blue-blind)
#C3A5B7
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c799eb; /* rgb */ color: rgb(199, 153, 235); /* oklch */ color: oklch(75.5% 0.124 309.4);
Tailwind
colors: {
custom: {
50: '#d9b7f1',
500: '#c799eb',
950: '#000000',
},
}SCSS
$custom: #c799eb; $custom-light: #d9b7f1; $custom-dark: #000000;
JSON
{
"hex": "#c799eb",
"rgb": {
"r": 199,
"g": 153,
"b": 235
},
"hsl": {
"h": 273.659,
"s": 67.213,
"l": 76.078
},
"oklch": {
"l": 0.75526,
"c": 0.12419,
"h": 309.4
},
"luminance": 0.40923
}Semantic roles & 50–950 ramp
primary
#C799EB
secondary
#E4F1DA
accent
#CF1667
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151117
muted
#838085