#C299F9#C299F9
#C299F9 is a light, vivid violet. Relative luminance 0.411; OKLCH L 75.7% C 0.140 H 302.9°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #C299F9 |
|---|---|
| RGB | rgb(194, 153, 249) |
| HSL | hsl(266, 89%, 79%) |
| HSV | hsv(266, 39%, 98%) |
| CMYK | cmyk(22.1%, 38.6%, 0%, 2.4%) |
| CIE-LAB | lab(70.24, 33.87, -42.33) |
| CIE-LCH | lch(70.24, 54.21, 308.67°) |
| OKLab | oklab(75.7% 0.076 -0.1176) |
| OKLCH | oklch(75.7% 0.14 302.9) |
| XYZ | xyz(50.7346, 41.0914, 94.8628) |
| Luminance | 0.4109 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.92
Pastel Purple
#CAA0FF
ΔE00 2.01
Lilac (survey)
#CEA2FD
ΔE00 2.88
Liliac
#C48EFD
ΔE00 3.11
Lavender (survey)
#C79FEF
ΔE00 3.23
Pale Violet
#CEAEFA
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C299F9 #D0F999
analogous
#99A0F9 #C299F9 #F299F9
triadic
#C299F9 #F9C299 #99F9C2
tetradic
#C299F9 #F999A0 #D0F999 #99F9F2
square
#C299F9 #F999A0 #D0F999 #99F9F2
split-complementary
#C299F9 #F9F299 #A0F999
monochromatic
#7D25F2 #9F5FF6 #C299F9 #E5D3FC #EEE2FD
Accessibility & contrast
On white
2.28
#C299F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.22
#C299F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C299F9
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C299F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C299F9 | 1.00 | 2.28 | 9.22 | 9.22 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82ABFD
Deuteranopia (green-blind)
#8BACF6
Tritanopia (blue-blind)
#B9A8BD
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c299f9; /* rgb */ color: rgb(194, 153, 249); /* oklch */ color: oklch(75.7% 0.140 302.9);
Tailwind
colors: {
custom: {
50: '#d6b7fb',
500: '#c299f9',
950: '#000000',
},
}SCSS
$custom: #c299f9; $custom-light: #d6b7fb; $custom-dark: #000000;
JSON
{
"hex": "#c299f9",
"rgb": {
"r": 194,
"g": 153,
"b": 249
},
"hsl": {
"h": 265.625,
"s": 88.889,
"l": 78.824
},
"oklch": {
"l": 0.75698,
"c": 0.14007,
"h": 302.9
},
"luminance": 0.41091
}Semantic roles & 50–950 ramp
primary
#C299F9
secondary
#E8F5D6
accent
#E60083
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085