#CF9CCF#CF9CCF
#CF9CCF is a light, moderate purple. Relative luminance 0.415; OKLCH L 75.7% C 0.091 H 326.4°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #CF9CCF |
|---|---|
| RGB | rgb(207, 156, 207) |
| HSL | hsl(300, 35%, 71%) |
| HSV | hsv(300, 25%, 81%) |
| CMYK | cmyk(0%, 24.6%, 0%, 18.8%) |
| CIE-LAB | lab(70.56, 27.50, -18.70) |
| CIE-LCH | lch(70.56, 33.25, 325.78°) |
| OKLab | oklab(75.7% 0.0759 -0.0504) |
| OKLCH | oklch(75.7% 0.091 326.4) |
| XYZ | xyz(48.8819, 41.5487, 64.4641) |
| Luminance | 0.4155 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 3.13
Lilac
#C8A2C8
ΔE00 3.70
Pale Purple
#B790D4
ΔE00 7.13
Lavender Pink
#DD85D7
ΔE00 7.43
Lavender (survey)
#C79FEF
ΔE00 8.14
Lavender
#B39DDB
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF9CCF #9CCF9C
analogous
#B59CCF #CF9CCF #CF9CB5
triadic
#CF9CCF #CFCF9C #9CCFCF
tetradic
#CF9CCF #CFB59C #9CCF9C #9CB5CF
square
#CF9CCF #CFB59C #9CCF9C #9CB5CF
split-complementary
#CF9CCF #B5CF9C #9CCFB5
monochromatic
#A24FA2 #BB73BB #CF9CCF #E3C5E3 #F5EAF5
Accessibility & contrast
On white
2.26
#CF9CCF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.31
#CF9CCF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF9CCF
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF9CCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF9CCF | 1.00 | 2.26 | 9.31 | 9.31 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99A9D1
Deuteranopia (green-blind)
#A4AFCD
Tritanopia (blue-blind)
#D2A0AE
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #cf9ccf; /* rgb */ color: rgb(207, 156, 207); /* oklch */ color: oklch(75.7% 0.091 326.4);
Tailwind
colors: {
custom: {
50: '#deb9dd',
500: '#cf9ccf',
950: '#000000',
},
}SCSS
$custom: #cf9ccf; $custom-light: #deb9dd; $custom-dark: #000000;
JSON
{
"hex": "#cf9ccf",
"rgb": {
"r": 207,
"g": 156,
"b": 207
},
"hsl": {
"h": 300,
"s": 34.694,
"l": 71.176
},
"oklch": {
"l": 0.75696,
"c": 0.09114,
"h": 326.4
},
"luminance": 0.41547
}Semantic roles & 50–950 ramp
primary
#CF9CCF
secondary
#DDEADD
accent
#AE3838
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083