#C2A1F8#C2A1F8
#C2A1F8 is a light, vivid violet. Relative luminance 0.437; OKLCH L 77.1% C 0.126 H 300.9°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A1F8 |
|---|---|
| RGB | rgb(194, 161, 248) |
| HSL | hsl(263, 86%, 80%) |
| HSV | hsv(263, 35%, 97%) |
| CMYK | cmyk(21.8%, 35.1%, 0%, 2.7%) |
| CIE-LAB | lab(72.05, 29.23, -38.96) |
| CIE-LCH | lch(72.05, 48.70, 306.88°) |
| OKLab | oklab(77.06% 0.0647 -0.108) |
| OKLCH | oklch(77.06% 0.126 300.9) |
| XYZ | xyz(51.9326, 43.7363, 94.4947) |
| Luminance | 0.4374 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 1.85
Lilac (survey)
#CEA2FD
ΔE00 2.35
Lavender (survey)
#C79FEF
ΔE00 2.52
Baby Purple
#CA9BF7
ΔE00 2.71
Pale Violet
#CEAEFA
ΔE00 3.83
Lavender
#B39DDB
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A1F8 #D7F8A1
analogous
#A1ABF8 #C2A1F8 #EEA1F8
triadic
#C2A1F8 #F8C2A1 #A1F8C2
tetradic
#C2A1F8 #F8A1AB #D7F8A1 #A1F8EE
square
#C2A1F8 #F8A1AB #D7F8A1 #A1F8EE
split-complementary
#C2A1F8 #F8EEA1 #ABF8A1
monochromatic
#782FF0 #9D68F4 #C2A1F8 #E7DAFC #EDE3FD
Accessibility & contrast
On white
2.15
#C2A1F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#C2A1F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A1F8
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A1F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A1F8 | 1.00 | 2.15 | 9.75 | 9.75 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DB0FB
Deuteranopia (green-blind)
#93B0F6
Tritanopia (blue-blind)
#B8AFC1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #c2a1f8; /* rgb */ color: rgb(194, 161, 248); /* oklch */ color: oklch(77.1% 0.126 300.9);
Tailwind
colors: {
custom: {
50: '#d6bdfb',
500: '#c2a1f8',
950: '#000000',
},
}SCSS
$custom: #c2a1f8; $custom-light: #d6bdfb; $custom-dark: #000000;
JSON
{
"hex": "#c2a1f8",
"rgb": {
"r": 194,
"g": 161,
"b": 248
},
"hsl": {
"h": 262.759,
"s": 86.139,
"l": 80.196
},
"oklch": {
"l": 0.77061,
"c": 0.12588,
"h": 300.9
},
"luminance": 0.43736
}Semantic roles & 50–950 ramp
primary
#C2A1F8
secondary
#E9F5D6
accent
#E3038E
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141217
muted
#838185