#C299F4#C299F4
#C299F4 is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.5% C 0.134 H 304.1°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #C299F4 |
|---|---|
| RGB | rgb(194, 153, 244) |
| HSL | hsl(267, 81%, 78%) |
| HSV | hsv(267, 37%, 96%) |
| CMYK | cmyk(20.5%, 37.3%, 0%, 4.3%) |
| CIE-LAB | lab(70.02, 32.74, -39.94) |
| CIE-LCH | lch(70.02, 51.65, 309.34°) |
| OKLab | oklab(75.46% 0.075 -0.1108) |
| OKLCH | oklch(75.46% 0.134 304.1) |
| XYZ | xyz(49.9651, 40.7836, 90.8102) |
| Luminance | 0.4078 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.53
Pastel Purple
#CAA0FF
ΔE00 2.22
Lavender (survey)
#C79FEF
ΔE00 2.47
Lilac (survey)
#CEA2FD
ΔE00 2.76
Liliac
#C48EFD
ΔE00 3.54
Pale Violet
#CEAEFA
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C299F4 #CBF499
analogous
#999DF4 #C299F4 #EF99F4
triadic
#C299F4 #F4C299 #99F4C2
tetradic
#C299F4 #F4999D #CBF499 #99F4EF
square
#C299F4 #F4999D #CBF499 #99F4EF
split-complementary
#C299F4 #F4EF99 #9DF499
monochromatic
#802BE8 #A162EE #C299F4 #E3D0FA #EEE3FC
Accessibility & contrast
On white
2.29
#C299F4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#C299F4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C299F4
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C299F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C299F4 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84AAF7
Deuteranopia (green-blind)
#8DABF2
Tritanopia (blue-blind)
#BAA7BB
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c299f4; /* rgb */ color: rgb(194, 153, 244); /* oklch */ color: oklch(75.5% 0.134 304.1);
Tailwind
colors: {
custom: {
50: '#d6b7f8',
500: '#c299f4',
950: '#000000',
},
}SCSS
$custom: #c299f4; $custom-light: #d6b7f8; $custom-dark: #000000;
JSON
{
"hex": "#c299f4",
"rgb": {
"r": 194,
"g": 153,
"b": 244
},
"hsl": {
"h": 267.033,
"s": 80.531,
"l": 77.843
},
"oklch": {
"l": 0.75464,
"c": 0.13376,
"h": 304.1
},
"luminance": 0.40783
}Semantic roles & 50–950 ramp
primary
#C299F4
secondary
#E7F4D7
accent
#DD097D
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085