#C08CF2#C08CF2
#C08CF2 is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.0% C 0.152 H 306.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C08CF2 |
|---|---|
| RGB | rgb(192, 140, 242) |
| HSL | hsl(271, 80%, 75%) |
| HSV | hsv(271, 42%, 95%) |
| CMYK | cmyk(20.7%, 42.1%, 0%, 5.1%) |
| CIE-LAB | lab(66.80, 38.86, -43.90) |
| CIE-LCH | lch(66.80, 58.63, 311.52°) |
| OKLab | oklab(72.96% 0.0904 -0.1222) |
| OKLCH | oklch(72.96% 0.152 306.5) |
| XYZ | xyz(47.1401, 36.3738, 88.5246) |
| Luminance | 0.3637 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.71
Baby Purple
#CA9BF7
ΔE00 3.97
Pastel Purple
#CAA0FF
ΔE00 5.07
Light Purple
#BF77F6
ΔE00 5.27
Lavender (survey)
#C79FEF
ΔE00 5.40
Lilac (survey)
#CEA2FD
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C08CF2 #BEF28C
analogous
#8D8CF2 #C08CF2 #F28CF1
triadic
#C08CF2 #F2C08C #8CF2C0
tetradic
#C08CF2 #F28D8C #BEF28C #8CF1F2
square
#C08CF2 #F28D8C #BEF28C #8CF1F2
split-complementary
#C08CF2 #F1F28C #8CF28D
monochromatic
#841EE6 #A255EC #C08CF2 #DEC3F8 #F0E4FC
Accessibility & contrast
On white
2.54
#C08CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#C08CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C08CF2
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C08CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C08CF2 | 1.00 | 2.54 | 8.27 | 8.27 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#80A3EF
Tritanopia (blue-blind)
#B99CB4
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #c08cf2; /* rgb */ color: rgb(192, 140, 242); /* oklch */ color: oklch(73.0% 0.152 306.5);
Tailwind
colors: {
custom: {
50: '#d5aef7',
500: '#c08cf2',
950: '#000000',
},
}SCSS
$custom: #c08cf2; $custom-light: #d5aef7; $custom-dark: #000000;
JSON
{
"hex": "#c08cf2",
"rgb": {
"r": 192,
"g": 140,
"b": 242
},
"hsl": {
"h": 270.588,
"s": 79.687,
"l": 74.902
},
"oklch": {
"l": 0.72958,
"c": 0.15196,
"h": 306.5
},
"luminance": 0.36373
}Semantic roles & 50–950 ramp
primary
#C08CF2
secondary
#E5F4D7
accent
#DC0A71
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85