#C8A6F2#C8A6F2
#C8A6F2 is a light, moderate violet. Relative luminance 0.460; OKLCH L 78.2% C 0.111 H 304.4°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A6F2 |
|---|---|
| RGB | rgb(200, 166, 242) |
| HSL | hsl(267, 75%, 80%) |
| HSV | hsv(267, 31%, 95%) |
| CMYK | cmyk(17.4%, 31.4%, 0%, 5.1%) |
| CIE-LAB | lab(73.52, 26.91, -33.38) |
| CIE-LCH | lch(73.52, 42.88, 308.88°) |
| OKLab | oklab(78.23% 0.0631 -0.0919) |
| OKLCH | oklch(78.23% 0.111 304.4) |
| XYZ | xyz(53.4794, 45.9628, 90.0415) |
| Luminance | 0.4596 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 1.87
Pale Violet
#CEAEFA
ΔE00 2.06
Lilac (survey)
#CEA2FD
ΔE00 2.74
Pastel Purple
#CAA0FF
ΔE00 3.35
Baby Purple
#CA9BF7
ΔE00 3.55
Light Violet
#D6B4FC
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A6F2 #D0F2A6
analogous
#A6AAF2 #C8A6F2 #EEA6F2
triadic
#C8A6F2 #F2C8A6 #A6F2C8
tetradic
#C8A6F2 #F2A6AA #D0F2A6 #A6F2EE
square
#C8A6F2 #F2A6AA #D0F2A6 #A6F2EE
split-complementary
#C8A6F2 #F2EEA6 #AAF2A6
monochromatic
#863BE2 #A771EA #C8A6F2 #E9DBFA #EEE4FB
Accessibility & contrast
On white
2.06
#C8A6F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.19
#C8A6F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A6F2
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A6F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A6F2 | 1.00 | 2.06 | 10.19 | 10.19 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97B4F5
Deuteranopia (green-blind)
#9DB5F0
Tritanopia (blue-blind)
#C2B1C1
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #c8a6f2; /* rgb */ color: rgb(200, 166, 242); /* oklch */ color: oklch(78.2% 0.111 304.4);
Tailwind
colors: {
custom: {
50: '#d9c0f6',
500: '#c8a6f2',
950: '#000000',
},
}SCSS
$custom: #c8a6f2; $custom-light: #d9c0f6; $custom-dark: #000000;
JSON
{
"hex": "#c8a6f2",
"rgb": {
"r": 200,
"g": 166,
"b": 242
},
"hsl": {
"h": 266.842,
"s": 74.51,
"l": 80
},
"oklch": {
"l": 0.7823,
"c": 0.11147,
"h": 304.4
},
"luminance": 0.45963
}Semantic roles & 50–950 ramp
primary
#C8A6F2
secondary
#E7F3D8
accent
#D70F7D
background
#FDFBFF
surface
#FBF7FE
border
#D4D0D6
text
#151217
muted
#838185