#C299FD#C299FD
#C299FD is a light, vivid violet. Relative luminance 0.413; OKLCH L 75.9% C 0.145 H 301.9°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C299FD |
|---|---|
| RGB | rgb(194, 153, 253) |
| HSL | hsl(265, 96%, 80%) |
| HSV | hsv(265, 40%, 99%) |
| CMYK | cmyk(23.3%, 39.5%, 0%, 0.8%) |
| CIE-LAB | lab(70.42, 34.78, -44.23) |
| CIE-LCH | lch(70.42, 56.27, 308.18°) |
| OKLab | oklab(75.89% 0.0768 -0.1231) |
| OKLCH | oklch(75.89% 0.145 301.9) |
| XYZ | xyz(51.3651, 41.3436, 98.1835) |
| Luminance | 0.4134 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 2.12
Baby Purple
#CA9BF7
ΔE00 2.43
Liliac
#C48EFD
ΔE00 2.95
Lilac (survey)
#CEA2FD
ΔE00 3.16
Lavender (survey)
#C79FEF
ΔE00 3.86
Pale Violet
#CEAEFA
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C299FD #D4FD99
analogous
#99A2FD #C299FD #F499FD
triadic
#C299FD #FDC299 #99FDC2
tetradic
#C299FD #FD99A2 #D4FD99 #99FDF4
square
#C299FD #FD99A2 #D4FD99 #99FDF4
split-complementary
#C299FD #FDF499 #A2FD99
monochromatic
#7A21FB #9E5DFC #C299FD #E6D5FE #EDE1FE
Accessibility & contrast
On white
2.27
#C299FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#C299FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C299FD
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C299FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C299FD | 1.00 | 2.27 | 9.27 | 9.27 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#89ACFA
Tritanopia (blue-blind)
#B8A9BF
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c299fd; /* rgb */ color: rgb(194, 153, 253); /* oklch */ color: oklch(75.9% 0.145 301.9);
Tailwind
colors: {
custom: {
50: '#d6b7fe',
500: '#c299fd',
950: '#000000',
},
}SCSS
$custom: #c299fd; $custom-light: #d6b7fe; $custom-dark: #000000;
JSON
{
"hex": "#c299fd",
"rgb": {
"r": 194,
"g": 153,
"b": 253
},
"hsl": {
"h": 264.6,
"s": 96.154,
"l": 79.608
},
"oklch": {
"l": 0.75889,
"c": 0.14511,
"h": 301.9
},
"luminance": 0.41344
}Semantic roles & 50–950 ramp
primary
#C299FD
secondary
#E9F7D4
accent
#E60087
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086