#C299F5#C299F5
#C299F5 is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.5% C 0.135 H 303.8°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C299F5 |
|---|---|
| RGB | rgb(194, 153, 245) |
| HSL | hsl(267, 82%, 78%) |
| HSV | hsv(267, 38%, 96%) |
| CMYK | cmyk(20.8%, 37.6%, 0%, 3.9%) |
| CIE-LAB | lab(70.07, 32.97, -40.42) |
| CIE-LCH | lch(70.07, 52.16, 309.20°) |
| OKLab | oklab(75.51% 0.0752 -0.1121) |
| OKLCH | oklch(75.51% 0.135 303.8) |
| XYZ | xyz(50.1174, 40.8445, 91.6120) |
| Luminance | 0.4084 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.57
Pastel Purple
#CAA0FF
ΔE00 2.14
Lavender (survey)
#C79FEF
ΔE00 2.62
Lilac (survey)
#CEA2FD
ΔE00 2.76
Liliac
#C48EFD
ΔE00 3.44
Pale Violet
#CEAEFA
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C299F5 #CCF599
analogous
#999EF5 #C299F5 #F099F5
triadic
#C299F5 #F5C299 #99F5C2
tetradic
#C299F5 #F5999E #CCF599 #99F5F0
square
#C299F5 #F5999E #CCF599 #99F5F0
split-complementary
#C299F5 #F5F099 #9EF599
monochromatic
#7F2AEA #A161F0 #C299F5 #E3D1FA #EEE3FC
Accessibility & contrast
On white
2.29
#C299F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#C299F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C299F5
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C299F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C299F5 | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84AAF9
Deuteranopia (green-blind)
#8CABF2
Tritanopia (blue-blind)
#BAA7BC
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c299f5; /* rgb */ color: rgb(194, 153, 245); /* oklch */ color: oklch(75.5% 0.135 303.8);
Tailwind
colors: {
custom: {
50: '#d6b7f9',
500: '#c299f5',
950: '#000000',
},
}SCSS
$custom: #c299f5; $custom-light: #d6b7f9; $custom-dark: #000000;
JSON
{
"hex": "#c299f5",
"rgb": {
"r": 194,
"g": 153,
"b": 245
},
"hsl": {
"h": 266.739,
"s": 82.143,
"l": 78.039
},
"oklch": {
"l": 0.7551,
"c": 0.13503,
"h": 303.8
},
"luminance": 0.40844
}Semantic roles & 50–950 ramp
primary
#C299F5
secondary
#E7F4D7
accent
#DF077E
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085