#C6AFFC#C6AFFC
#C6AFFC is a light, moderate violet. Relative luminance 0.497; OKLCH L 80.1% C 0.110 H 297.6°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #C6AFFC |
|---|---|
| RGB | rgb(198, 175, 252) |
| HSL | hsl(258, 93%, 84%) |
| HSV | hsv(258, 31%, 99%) |
| CMYK | cmyk(21.4%, 30.6%, 0%, 1.2%) |
| CIE-LAB | lab(75.88, 23.59, -35.15) |
| CIE-LCH | lch(75.88, 42.33, 303.87°) |
| OKLab | oklab(80.13% 0.0507 -0.097) |
| OKLCH | oklch(80.13% 0.11 297.6) |
| XYZ | xyz(56.1854, 49.6936, 98.7084) |
| Luminance | 0.4969 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 2.21
Light Violet
#D6B4FC
ΔE00 3.68
Lilac (survey)
#CEA2FD
ΔE00 4.55
Pastel Purple
#CAA0FF
ΔE00 4.70
Lavender (survey)
#C79FEF
ΔE00 4.83
Mauve
#E0B0FF
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6AFFC #E5FCAF
analogous
#AFBEFC #C6AFFC #ECAFFC
triadic
#C6AFFC #FCC6AF #AFFCC6
tetradic
#C6AFFC #FCAFBE #E5FCAF #AFFCEC
square
#C6AFFC #FCAFBE #E5FCAF #AFFCEC
split-complementary
#C6AFFC #FCECAF #BEFCAF
monochromatic
#7239F8 #9C74FA #C6AFFC #EAE2FE #EAE2FE
Accessibility & contrast
On white
1.92
#C6AFFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.94
#C6AFFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6AFFC
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6AFFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6AFFC | 1.00 | 1.92 | 10.94 | 10.94 |
| #FFFFFF | 1.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9DBBFF
Deuteranopia (green-blind)
#A1BAFA
Tritanopia (blue-blind)
#BCBBCB
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #c6affc; /* rgb */ color: rgb(198, 175, 252); /* oklch */ color: oklch(80.1% 0.110 297.6);
Tailwind
colors: {
custom: {
50: '#d8c7fd',
500: '#c6affc',
950: '#000000',
},
}SCSS
$custom: #c6affc; $custom-light: #d8c7fd; $custom-dark: #000000;
JSON
{
"hex": "#c6affc",
"rgb": {
"r": 198,
"g": 175,
"b": 252
},
"hsl": {
"h": 257.922,
"s": 92.771,
"l": 83.725
},
"oklch": {
"l": 0.80125,
"c": 0.10951,
"h": 297.6
},
"luminance": 0.49694
}Semantic roles & 50–950 ramp
primary
#C6AFFC
secondary
#ECF6D5
accent
#E600A1
background
#FDFCFF
surface
#FAF8FF
border
#D3D1D7
text
#141317
muted
#838285