#C8A2F1#C8A2F1
#C8A2F1 is a light, moderate violet. Relative luminance 0.445; OKLCH L 77.5% C 0.117 H 305.9°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A2F1 |
|---|---|
| RGB | rgb(200, 162, 241) |
| HSL | hsl(269, 74%, 79%) |
| HSV | hsv(269, 33%, 95%) |
| CMYK | cmyk(17%, 32.8%, 0%, 5.5%) |
| CIE-LAB | lab(72.54, 28.89, -34.35) |
| CIE-LCH | lch(72.54, 44.89, 310.07°) |
| OKLab | oklab(77.47% 0.0685 -0.0947) |
| OKLCH | oklch(77.47% 0.117 305.9) |
| XYZ | xyz(52.6138, 44.4712, 89.0141) |
| Luminance | 0.4447 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 0.78
Lilac (survey)
#CEA2FD
ΔE00 2.19
Baby Purple
#CA9BF7
ΔE00 2.55
Pastel Purple
#CAA0FF
ΔE00 2.81
Pale Violet
#CEAEFA
ΔE00 3.02
Light Violet
#D6B4FC
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A2F1 #CBF1A2
analogous
#A2A4F1 #C8A2F1 #F0A2F1
triadic
#C8A2F1 #F1C8A2 #A2F1C8
tetradic
#C8A2F1 #F1A2A4 #CBF1A2 #A2F1F0
square
#C8A2F1 #F1A2A4 #CBF1A2 #A2F1F0
split-complementary
#C8A2F1 #F1F0A2 #A4F1A2
monochromatic
#8938E1 #A96DE9 #C8A2F1 #E7D7F9 #EFE4FB
Accessibility & contrast
On white
2.12
#C8A2F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#C8A2F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A2F1
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A2F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A2F1 | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92B1F4
Deuteranopia (green-blind)
#9AB2EF
Tritanopia (blue-blind)
#C2AEBF
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #c8a2f1; /* rgb */ color: rgb(200, 162, 241); /* oklch */ color: oklch(77.5% 0.117 305.9);
Tailwind
colors: {
custom: {
50: '#d9bef6',
500: '#c8a2f1',
950: '#000000',
},
}SCSS
$custom: #c8a2f1; $custom-light: #d9bef6; $custom-dark: #000000;
JSON
{
"hex": "#c8a2f1",
"rgb": {
"r": 200,
"g": 162,
"b": 241
},
"hsl": {
"h": 268.861,
"s": 73.832,
"l": 79.02
},
"oklch": {
"l": 0.77469,
"c": 0.11685,
"h": 305.9
},
"luminance": 0.44471
}Semantic roles & 50–950 ramp
primary
#C8A2F1
secondary
#E6F3D8
accent
#D61077
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185