#C799ED#C799ED
#C799ED is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.6% C 0.127 H 308.7°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #C799ED |
|---|---|
| RGB | rgb(199, 153, 237) |
| HSL | hsl(273, 70%, 76%) |
| HSV | hsv(273, 35%, 93%) |
| CMYK | cmyk(16%, 35.4%, 0%, 7.1%) |
| CIE-LAB | lab(70.20, 32.67, -35.80) |
| CIE-LCH | lch(70.20, 48.47, 312.38°) |
| OKLab | oklab(75.61% 0.0792 -0.0988) |
| OKLCH | oklch(75.61% 0.127 308.7) |
| XYZ | xyz(50.2276, 41.0395, 85.3797) |
| Luminance | 0.4104 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 1.63
Baby Purple
#CA9BF7
ΔE00 1.69
Lilac (survey)
#CEA2FD
ΔE00 2.99
Pastel Purple
#CAA0FF
ΔE00 3.26
Pale Purple
#B790D4
ΔE00 4.65
Liliac
#C48EFD
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C799ED #BFED99
analogous
#9D99ED #C799ED #ED99E9
triadic
#C799ED #EDC799 #99EDC7
tetradic
#C799ED #ED9D99 #BFED99 #99E9ED
square
#C799ED #ED9D99 #BFED99 #99E9ED
split-complementary
#C799ED #E9ED99 #99ED9D
monochromatic
#8E31DB #AA65E4 #C799ED #E4CDF6 #F1E5FA
Accessibility & contrast
On white
2.28
#C799ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.21
#C799ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C799ED
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C799ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C799ED | 1.00 | 2.28 | 9.21 | 9.21 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89AAF0
Deuteranopia (green-blind)
#93ACEB
Tritanopia (blue-blind)
#C2A5B8
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c799ed; /* rgb */ color: rgb(199, 153, 237); /* oklch */ color: oklch(75.6% 0.127 308.7);
Tailwind
colors: {
custom: {
50: '#d9b7f3',
500: '#c799ed',
950: '#000000',
},
}SCSS
$custom: #c799ed; $custom-light: #d9b7f3; $custom-dark: #000000;
JSON
{
"hex": "#c799ed",
"rgb": {
"r": 199,
"g": 153,
"b": 237
},
"hsl": {
"h": 272.857,
"s": 70,
"l": 76.471
},
"oklch": {
"l": 0.75614,
"c": 0.12663,
"h": 308.7
},
"luminance": 0.41039
}Semantic roles & 50–950 ramp
primary
#C799ED
secondary
#E4F2D9
accent
#D2146A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085