#C08AF3#C08AF3
#C08AF3 is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.7% C 0.156 H 306.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C08AF3 |
|---|---|
| RGB | rgb(192, 138, 243) |
| HSL | hsl(271, 81%, 75%) |
| HSV | hsv(271, 43%, 95%) |
| CMYK | cmyk(21%, 43.2%, 0%, 4.7%) |
| CIE-LAB | lab(66.41, 40.18, -45.07) |
| CIE-LCH | lch(66.41, 60.38, 311.72°) |
| OKLab | oklab(72.68% 0.0933 -0.1256) |
| OKLCH | oklch(72.68% 0.156 306.6) |
| XYZ | xyz(47.0011, 35.8549, 89.2213) |
| Luminance | 0.3585 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.70
Baby Purple
#CA9BF7
ΔE00 4.47
Light Purple
#BF77F6
ΔE00 4.71
Pastel Purple
#CAA0FF
ΔE00 5.53
Lavender (survey)
#C79FEF
ΔE00 5.96
Lilac (survey)
#CEA2FD
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C08AF3 #BDF38A
analogous
#8C8AF3 #C08AF3 #F38AF2
triadic
#C08AF3 #F3C08A #8AF3C0
tetradic
#C08AF3 #F38C8A #BDF38A #8AF2F3
square
#C08AF3 #F38C8A #BDF38A #8AF2F3
split-complementary
#C08AF3 #F2F38A #8AF38C
monochromatic
#841BE8 #A252ED #C08AF3 #DEC2F9 #F0E3FC
Accessibility & contrast
On white
2.57
#C08AF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#C08AF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C08AF3
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C08AF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C08AF3 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71A0F7
Deuteranopia (green-blind)
#7EA2F0
Tritanopia (blue-blind)
#B89BB3
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c08af3; /* rgb */ color: rgb(192, 138, 243); /* oklch */ color: oklch(72.7% 0.156 306.6);
Tailwind
colors: {
custom: {
50: '#d5adf7',
500: '#c08af3',
950: '#000000',
},
}SCSS
$custom: #c08af3; $custom-light: #d5adf7; $custom-dark: #000000;
JSON
{
"hex": "#c08af3",
"rgb": {
"r": 192,
"g": 138,
"b": 243
},
"hsl": {
"h": 270.857,
"s": 81.395,
"l": 74.706
},
"oklch": {
"l": 0.72675,
"c": 0.15642,
"h": 306.6
},
"luminance": 0.35854
}Semantic roles & 50–950 ramp
primary
#C08AF3
secondary
#E5F4D7
accent
#DE0870
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85