#C299F2#C299F2
#C299F2 is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.4% C 0.131 H 304.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #C299F2 |
|---|---|
| RGB | rgb(194, 153, 242) |
| HSL | hsl(268, 77%, 77%) |
| HSV | hsv(268, 37%, 95%) |
| CMYK | cmyk(19.8%, 36.8%, 0%, 5.1%) |
| CIE-LAB | lab(69.94, 32.29, -38.98) |
| CIE-LCH | lch(69.94, 50.62, 309.64°) |
| OKLab | oklab(75.37% 0.0746 -0.108) |
| OKLCH | oklch(75.37% 0.131 304.6) |
| XYZ | xyz(49.6631, 40.6628, 89.2195) |
| Luminance | 0.4066 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.51
Lavender (survey)
#C79FEF
ΔE00 2.20
Pastel Purple
#CAA0FF
ΔE00 2.40
Lilac (survey)
#CEA2FD
ΔE00 2.80
Liliac
#C48EFD
ΔE00 3.77
Pale Purple
#B790D4
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C299F2 #C9F299
analogous
#999DF2 #C299F2 #EE99F2
triadic
#C299F2 #F2C299 #99F2C2
tetradic
#C299F2 #F2999D #C9F299 #99F2EE
square
#C299F2 #F2999D #C9F299 #99F2EE
split-complementary
#C299F2 #F2EE99 #9DF299
monochromatic
#812CE4 #A263EB #C299F2 #E2CFF9 #EFE4FC
Accessibility & contrast
On white
2.30
#C299F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#C299F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C299F2
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C299F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C299F2 | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85AAF5
Deuteranopia (green-blind)
#8EABF0
Tritanopia (blue-blind)
#BBA7BA
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c299f2; /* rgb */ color: rgb(194, 153, 242); /* oklch */ color: oklch(75.4% 0.131 304.6);
Tailwind
colors: {
custom: {
50: '#d6b7f6',
500: '#c299f2',
950: '#000000',
},
}SCSS
$custom: #c299f2; $custom-light: #d6b7f6; $custom-dark: #000000;
JSON
{
"hex": "#c299f2",
"rgb": {
"r": 194,
"g": 153,
"b": 242
},
"hsl": {
"h": 267.64,
"s": 77.391,
"l": 77.451
},
"oklch": {
"l": 0.75371,
"c": 0.13126,
"h": 304.6
},
"luminance": 0.40663
}Semantic roles & 50–950 ramp
primary
#C299F2
secondary
#E7F3D8
accent
#DA0C7B
background
#FDFBFF
surface
#FAF6FE
border
#D3D0D6
text
#141117
muted
#838085