#CA9FDC#CA9FDC
#CA9FDC is a light, moderate purple. Relative luminance 0.425; OKLCH L 76.2% C 0.097 H 315.8°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #CA9FDC |
|---|---|
| RGB | rgb(202, 159, 220) |
| HSL | hsl(282, 47%, 74%) |
| HSV | hsv(282, 28%, 86%) |
| CMYK | cmyk(8.2%, 27.7%, 0%, 13.7%) |
| CIE-LAB | lab(71.23, 26.76, -24.88) |
| CIE-LCH | lch(71.23, 36.54, 317.08°) |
| OKLab | oklab(76.25% 0.0696 -0.0678) |
| OKLCH | oklch(76.25% 0.097 315.8) |
| XYZ | xyz(49.6716, 42.5210, 73.2870) |
| Luminance | 0.4252 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 4.11
Lavender (survey)
#C79FEF
ΔE00 4.60
Pale Purple
#B790D4
ΔE00 5.03
Lavender
#B39DDB
ΔE00 5.51
Lilac
#C8A2C8
ΔE00 5.75
Pale Violet
#CEAEFA
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA9FDC #B1DC9F
analogous
#AC9FDC #CA9FDC #DC9FD0
triadic
#CA9FDC #DCCA9F #9FDCCA
tetradic
#CA9FDC #DCAC9F #B1DC9F #9FD0DC
square
#CA9FDC #DCAC9F #B1DC9F #9FD0DC
split-complementary
#CA9FDC #D0DC9F #9FDCAC
monochromatic
#9845BB #B172CC #CA9FDC #E3CCEC #F3E9F7
Accessibility & contrast
On white
2.21
#CA9FDC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.50
#CA9FDC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA9FDC
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA9FDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA9FDC | 1.00 | 2.21 | 9.50 | 9.50 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97ACDE
Deuteranopia (green-blind)
#A0B0DA
Tritanopia (blue-blind)
#C9A6B5
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #ca9fdc; /* rgb */ color: rgb(202, 159, 220); /* oklch */ color: oklch(76.2% 0.097 315.8);
Tailwind
colors: {
custom: {
50: '#dabbe7',
500: '#ca9fdc',
950: '#000000',
},
}SCSS
$custom: #ca9fdc; $custom-light: #dabbe7; $custom-dark: #000000;
JSON
{
"hex": "#ca9fdc",
"rgb": {
"r": 202,
"g": 159,
"b": 220
},
"hsl": {
"h": 282.295,
"s": 46.565,
"l": 74.314
},
"oklch": {
"l": 0.76246,
"c": 0.09713,
"h": 315.8
},
"luminance": 0.4252
}Semantic roles & 50–950 ramp
primary
#CA9FDC
secondary
#E2EEDD
accent
#BA2C56
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151216
muted
#838184