#C2AFDC#C2AFDC
#C2AFDC is a light, moderate violet. Relative luminance 0.473; OKLCH L 78.5% C 0.066 H 304.1°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AFDC |
|---|---|
| RGB | rgb(194, 175, 220) |
| HSL | hsl(265, 39%, 77%) |
| HSV | hsv(265, 20%, 86%) |
| CMYK | cmyk(11.8%, 20.5%, 0%, 13.7%) |
| CIE-LAB | lab(74.38, 15.39, -20.15) |
| CIE-LCH | lch(74.38, 25.35, 307.37°) |
| OKLab | oklab(78.5% 0.0371 -0.0547) |
| OKLCH | oklch(78.5% 0.066 304.1) |
| XYZ | xyz(50.4939, 47.2967, 74.1653) |
| Luminance | 0.4730 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 6.15
Lilac
#C8A2C8
ΔE00 6.46
Light Violet
#D6B4FC
ΔE00 6.69
Light Lavender
#DFC5FE
ΔE00 6.84
Pale Violet
#CEAEFA
ΔE00 6.89
Pale Lilac
#E4CBFF
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AFDC #C9DCAF
analogous
#AFB3DC #C2AFDC #D8AFDC
triadic
#C2AFDC #DCC2AF #AFDCC2
tetradic
#C2AFDC #DCAFB3 #C9DCAF #AFDCD8
square
#C2AFDC #DCAFB3 #C9DCAF #AFDCD8
split-complementary
#C2AFDC #DCD8AF #B3DCAF
monochromatic
#815AB7 #A284C9 #C2AFDC #E2DAEF #EFEAF6
Accessibility & contrast
On white
2.01
#C2AFDC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.46
#C2AFDC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AFDC
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AFDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AFDC | 1.00 | 2.01 | 10.46 | 10.46 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7B6DE
Deuteranopia (green-blind)
#AAB7DB
Tritanopia (blue-blind)
#BEB5BE
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #c2afdc; /* rgb */ color: rgb(194, 175, 220); /* oklch */ color: oklch(78.5% 0.066 304.1);
Tailwind
colors: {
custom: {
50: '#d4c7e7',
500: '#c2afdc',
950: '#000000',
},
}SCSS
$custom: #c2afdc; $custom-light: #d4c7e7; $custom-dark: #000000;
JSON
{
"hex": "#c2afdc",
"rgb": {
"r": 194,
"g": 175,
"b": 220
},
"hsl": {
"h": 265.333,
"s": 39.13,
"l": 77.451
},
"oklch": {
"l": 0.78502,
"c": 0.0661,
"h": 304.1
},
"luminance": 0.47297
}Semantic roles & 50–950 ramp
primary
#C2AFDC
secondary
#E7ECDF
accent
#B2337D
background
#FDFCFE
surface
#FAF8FC
border
#D3D1D5
text
#141316
muted
#838284