#C0AFF1#C0AFF1
#C0AFF1 is a light, moderate violet. Relative luminance 0.482; OKLCH L 79.2% C 0.094 H 296.0°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #C0AFF1 |
|---|---|
| RGB | rgb(192, 175, 241) |
| HSL | hsl(255, 70%, 82%) |
| HSV | hsv(255, 27%, 95%) |
| CMYK | cmyk(20.3%, 27.4%, 0%, 5.5%) |
| CIE-LAB | lab(74.96, 19.32, -30.67) |
| CIE-LCH | lch(74.96, 36.25, 302.20°) |
| OKLab | oklab(79.16% 0.0412 -0.0844) |
| OKLCH | oklch(79.16% 0.094 296) |
| XYZ | xyz(52.9418, 48.2169, 89.7196) |
| Luminance | 0.4822 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 3.40
Light Violet
#D6B4FC
ΔE00 4.44
Lavender
#B39DDB
ΔE00 5.13
Lavender (survey)
#C79FEF
ΔE00 5.54
Lilac (survey)
#CEA2FD
ΔE00 6.09
Pastel Purple
#CAA0FF
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C0AFF1 #E0F1AF
analogous
#AFBFF1 #C0AFF1 #E1AFF1
triadic
#C0AFF1 #F1C0AF #AFF1C0
tetradic
#C0AFF1 #F1AFBF #E0F1AF #AFF1E1
square
#C0AFF1 #F1AFBF #E0F1AF #AFF1E1
split-complementary
#C0AFF1 #F1E1AF #BFF1AF
monochromatic
#6E47DF #977BE8 #C0AFF1 #E9E3FA #EAE5FA
Accessibility & contrast
On white
1.97
#C0AFF1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.64
#C0AFF1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C0AFF1
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C0AFF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C0AFF1 | 1.00 | 1.97 | 10.64 | 10.64 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A0B9F4
Deuteranopia (green-blind)
#A2B8EF
Tritanopia (blue-blind)
#B7B9C6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #c0aff1; /* rgb */ color: rgb(192, 175, 241); /* oklch */ color: oklch(79.2% 0.094 296.0);
Tailwind
colors: {
custom: {
50: '#d4c7f5',
500: '#c0aff1',
950: '#000000',
},
}SCSS
$custom: #c0aff1; $custom-light: #d4c7f5; $custom-dark: #000000;
JSON
{
"hex": "#c0aff1",
"rgb": {
"r": 192,
"g": 175,
"b": 241
},
"hsl": {
"h": 255.455,
"s": 70.213,
"l": 81.569
},
"oklch": {
"l": 0.79159,
"c": 0.0939,
"h": 296
},
"luminance": 0.48217
}Semantic roles & 50–950 ramp
primary
#C0AFF1
secondary
#ECF2D9
accent
#D213A1
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#141317
muted
#838285