#C299FC#C299FC
#C299FC is a light, vivid violet. Relative luminance 0.413; OKLCH L 75.8% C 0.144 H 302.2°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #C299FC |
|---|---|
| RGB | rgb(194, 153, 252) |
| HSL | hsl(265, 94%, 79%) |
| HSV | hsv(265, 39%, 99%) |
| CMYK | cmyk(23%, 39.3%, 0%, 1.2%) |
| CIE-LAB | lab(70.37, 34.56, -43.75) |
| CIE-LCH | lch(70.37, 55.75, 308.30°) |
| OKLab | oklab(75.84% 0.0766 -0.1218) |
| OKLCH | oklch(75.84% 0.144 302.2) |
| XYZ | xyz(51.2063, 41.2801, 97.3468) |
| Luminance | 0.4128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 2.07
Baby Purple
#CA9BF7
ΔE00 2.30
Liliac
#C48EFD
ΔE00 2.97
Lilac (survey)
#CEA2FD
ΔE00 3.08
Lavender (survey)
#C79FEF
ΔE00 3.70
Pale Violet
#CEAEFA
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C299FC #D3FC99
analogous
#99A2FC #C299FC #F399FC
triadic
#C299FC #FCC299 #99FCC2
tetradic
#C299FC #FC99A2 #D3FC99 #99FCF3
square
#C299FC #FC99A2 #D3FC99 #99FCF3
split-complementary
#C299FC #FCF399 #A2FC99
monochromatic
#7B22F9 #9E5EFA #C299FC #E6D4FE #EDE1FE
Accessibility & contrast
On white
2.27
#C299FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#C299FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C299FC
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C299FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C299FC | 1.00 | 2.27 | 9.26 | 9.26 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81ABFF
Deuteranopia (green-blind)
#89ACF9
Tritanopia (blue-blind)
#B8A9BF
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c299fc; /* rgb */ color: rgb(194, 153, 252); /* oklch */ color: oklch(75.8% 0.144 302.2);
Tailwind
colors: {
custom: {
50: '#d6b7fd',
500: '#c299fc',
950: '#000000',
},
}SCSS
$custom: #c299fc; $custom-light: #d6b7fd; $custom-dark: #000000;
JSON
{
"hex": "#c299fc",
"rgb": {
"r": 194,
"g": 153,
"b": 252
},
"hsl": {
"h": 264.848,
"s": 94.286,
"l": 79.412
},
"oklch": {
"l": 0.75841,
"c": 0.14385,
"h": 302.2
},
"luminance": 0.4128
}Semantic roles & 50–950 ramp
primary
#C299FC
secondary
#E8F6D5
accent
#E60086
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086