#CD9AF3#CD9AF3
#CD9AF3 is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.6% C 0.134 H 309.8°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #CD9AF3 |
|---|---|
| RGB | rgb(205, 154, 243) |
| HSL | hsl(274, 79%, 78%) |
| HSV | hsv(274, 37%, 95%) |
| CMYK | cmyk(15.6%, 36.6%, 0%, 4.7%) |
| CIE-LAB | lab(71.26, 35.20, -37.40) |
| CIE-LCH | lch(71.26, 51.35, 313.26°) |
| OKLab | oklab(76.63% 0.086 -0.1032) |
| OKLCH | oklch(76.63% 0.134 309.8) |
| XYZ | xyz(52.9072, 42.5621, 90.2048) |
| Luminance | 0.4256 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 1.21
Lavender (survey)
#C79FEF
ΔE00 2.15
Lilac (survey)
#CEA2FD
ΔE00 2.42
Pastel Purple
#CAA0FF
ΔE00 2.85
Liliac
#C48EFD
ΔE00 4.46
Pale Violet
#CEAEFA
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD9AF3 #C0F39A
analogous
#A09AF3 #CD9AF3 #F39AEC
triadic
#CD9AF3 #F3CD9A #9AF3CD
tetradic
#CD9AF3 #F3A09A #C0F39A #9AECF3
square
#CD9AF3 #F3A09A #C0F39A #9AECF3
split-complementary
#CD9AF3 #ECF39A #9AF3A0
monochromatic
#972DE6 #B263ED #CD9AF3 #E8D1F9 #F1E4FC
Accessibility & contrast
On white
2.21
#CD9AF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#CD9AF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD9AF3
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD9AF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD9AF3 | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89ACF6
Deuteranopia (green-blind)
#94AFF0
Tritanopia (blue-blind)
#C9A7BB
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #cd9af3; /* rgb */ color: rgb(205, 154, 243); /* oklch */ color: oklch(76.6% 0.134 309.8);
Tailwind
colors: {
custom: {
50: '#ddb8f7',
500: '#cd9af3',
950: '#000000',
},
}SCSS
$custom: #cd9af3; $custom-light: #ddb8f7; $custom-dark: #000000;
JSON
{
"hex": "#cd9af3",
"rgb": {
"r": 205,
"g": 154,
"b": 243
},
"hsl": {
"h": 274.382,
"s": 78.761,
"l": 77.843
},
"oklch": {
"l": 0.76628,
"c": 0.13439,
"h": 309.8
},
"luminance": 0.42561
}Semantic roles & 50–950 ramp
primary
#CD9AF3
secondary
#E3F4D7
accent
#DB0A64
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085