#CF9CDA#CF9CDA
#CF9CDA is a light, moderate purple. Relative luminance 0.421; OKLCH L 76.1% C 0.103 H 320.3°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #CF9CDA |
|---|---|
| RGB | rgb(207, 156, 218) |
| HSL | hsl(289, 46%, 73%) |
| HSV | hsv(289, 28%, 85%) |
| CMYK | cmyk(5%, 28.4%, 0%, 14.5%) |
| CIE-LAB | lab(70.94, 29.61, -24.17) |
| CIE-LCH | lch(70.94, 38.22, 320.77°) |
| OKLab | oklab(76.12% 0.0792 -0.0657) |
| OKLCH | oklch(76.12% 0.103 320.3) |
| XYZ | xyz(50.2738, 42.1055, 71.7949) |
| Luminance | 0.4210 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 2.83
Pale Purple
#B790D4
ΔE00 5.53
Lavender (survey)
#C79FEF
ΔE00 5.56
Lilac
#C8A2C8
ΔE00 5.79
Lavender Pink
#DD85D7
ΔE00 6.68
Baby Purple
#CA9BF7
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF9CDA #A7DA9C
analogous
#B09CDA #CF9CDA #DA9CC6
triadic
#CF9CDA #DACF9C #9CDACF
tetradic
#CF9CDA #DAB09C #A7DA9C #9CC6DA
square
#CF9CDA #DAB09C #A7DA9C #9CC6DA
split-complementary
#CF9CDA #C6DA9C #9CDAB0
monochromatic
#A344B7 #B96FC9 #CF9CDA #E5C9EB #F4E9F7
Accessibility & contrast
On white
2.23
#CF9CDA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#CF9CDA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF9CDA
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF9CDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF9CDA | 1.00 | 2.23 | 9.42 | 9.42 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95AADC
Deuteranopia (green-blind)
#A1B0D8
Tritanopia (blue-blind)
#D0A3B2
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #cf9cda; /* rgb */ color: rgb(207, 156, 218); /* oklch */ color: oklch(76.1% 0.103 320.3);
Tailwind
colors: {
custom: {
50: '#deb9e5',
500: '#cf9cda',
950: '#000000',
},
}SCSS
$custom: #cf9cda; $custom-light: #deb9e5; $custom-dark: #000000;
JSON
{
"hex": "#cf9cda",
"rgb": {
"r": 207,
"g": 156,
"b": 218
},
"hsl": {
"h": 289.355,
"s": 45.588,
"l": 73.333
},
"oklch": {
"l": 0.76117,
"c": 0.10287,
"h": 320.3
},
"luminance": 0.42104
}Semantic roles & 50–950 ramp
primary
#CF9CDA
secondary
#E0EEDD
accent
#B92D46
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151115
muted
#838084