#C299EF#C299EF
#C299EF is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.2% C 0.127 H 305.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #C299EF |
|---|---|
| RGB | rgb(194, 153, 239) |
| HSL | hsl(269, 73%, 77%) |
| HSV | hsv(269, 36%, 94%) |
| CMYK | cmyk(18.8%, 36%, 0%, 6.3%) |
| CIE-LAB | lab(69.81, 31.62, -37.54) |
| CIE-LCH | lch(69.81, 49.08, 310.11°) |
| OKLab | oklab(75.23% 0.0739 -0.1039) |
| OKLCH | oklch(75.23% 0.127 305.4) |
| XYZ | xyz(49.2162, 40.4840, 86.8660) |
| Luminance | 0.4048 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.66
Lavender (survey)
#C79FEF
ΔE00 1.85
Pastel Purple
#CAA0FF
ΔE00 2.76
Lilac (survey)
#CEA2FD
ΔE00 2.94
Liliac
#C48EFD
ΔE00 4.17
Pale Purple
#B790D4
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C299EF #C6EF99
analogous
#999BEF #C299EF #ED99EF
triadic
#C299EF #EFC299 #99EFC2
tetradic
#C299EF #EF999B #C6EF99 #99EFED
square
#C299EF #EF999B #C6EF99 #99EFED
split-complementary
#C299EF #EFED99 #9BEF99
monochromatic
#832FDE #A264E7 #C299EF #E2CEF7 #EFE5FB
Accessibility & contrast
On white
2.31
#C299EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#C299EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C299EF
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C299EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C299EF | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87A9F2
Deuteranopia (green-blind)
#8FABED
Tritanopia (blue-blind)
#BBA6B9
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c299ef; /* rgb */ color: rgb(194, 153, 239); /* oklch */ color: oklch(75.2% 0.127 305.4);
Tailwind
colors: {
custom: {
50: '#d5b7f4',
500: '#c299ef',
950: '#000000',
},
}SCSS
$custom: #c299ef; $custom-light: #d5b7f4; $custom-dark: #000000;
JSON
{
"hex": "#c299ef",
"rgb": {
"r": 194,
"g": 153,
"b": 239
},
"hsl": {
"h": 268.605,
"s": 72.881,
"l": 76.863
},
"oklch": {
"l": 0.75234,
"c": 0.12748,
"h": 305.4
},
"luminance": 0.40484
}Semantic roles & 50–950 ramp
primary
#C299EF
secondary
#E6F3D8
accent
#D51177
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085