#C299EB#C299EB
#C299EB is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.1% C 0.122 H 306.6°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #C299EB |
|---|---|
| RGB | rgb(194, 153, 235) |
| HSL | hsl(270, 67%, 76%) |
| HSV | hsv(270, 35%, 92%) |
| CMYK | cmyk(17.4%, 34.9%, 0%, 7.8%) |
| CIE-LAB | lab(69.65, 30.74, -35.61) |
| CIE-LCH | lch(69.65, 47.04, 310.81°) |
| OKLab | oklab(75.05% 0.073 -0.0983) |
| OKLCH | oklch(75.05% 0.122 306.6) |
| XYZ | xyz(48.6319, 40.2503, 83.7882) |
| Luminance | 0.4025 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 1.61
Baby Purple
#CA9BF7
ΔE00 2.13
Lilac (survey)
#CEA2FD
ΔE00 3.31
Pastel Purple
#CAA0FF
ΔE00 3.36
Pale Purple
#B790D4
ΔE00 4.24
Lavender
#B39DDB
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C299EB #C2EB99
analogous
#9999EB #C299EB #EB99EB
triadic
#C299EB #EBC299 #99EBC2
tetradic
#C299EB #EB9999 #C2EB99 #99EBEB
square
#C299EB #EB9999 #C2EB99 #99EBEB
split-complementary
#C299EB #EBEB99 #99EB99
monochromatic
#8533D7 #A366E1 #C299EB #E1CCF5 #F0E5FA
Accessibility & contrast
On white
2.32
#C299EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#C299EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C299EB
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C299EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C299EB | 1.00 | 2.32 | 9.05 | 9.05 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88A9EE
Deuteranopia (green-blind)
#91ABE9
Tritanopia (blue-blind)
#BCA5B7
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c299eb; /* rgb */ color: rgb(194, 153, 235); /* oklch */ color: oklch(75.1% 0.122 306.6);
Tailwind
colors: {
custom: {
50: '#d5b7f1',
500: '#c299eb',
950: '#000000',
},
}SCSS
$custom: #c299eb; $custom-light: #d5b7f1; $custom-dark: #000000;
JSON
{
"hex": "#c299eb",
"rgb": {
"r": 194,
"g": 153,
"b": 235
},
"hsl": {
"h": 270,
"s": 67.213,
"l": 76.078
},
"oklch": {
"l": 0.75054,
"c": 0.12247,
"h": 306.6
},
"luminance": 0.4025
}Semantic roles & 50–950 ramp
primary
#C299EB
secondary
#E6F1DA
accent
#CF1673
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085