#C997CD#C997CD
#C997CD is a light, moderate purple. Relative luminance 0.390; OKLCH L 74.1% C 0.094 H 324.0°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #C997CD |
|---|---|
| RGB | rgb(201, 151, 205) |
| HSL | hsl(296, 35%, 70%) |
| HSV | hsv(296, 26%, 80%) |
| CMYK | cmyk(2%, 26.3%, 0%, 19.6%) |
| CIE-LAB | lab(68.72, 27.87, -20.44) |
| CIE-LCH | lch(68.72, 34.56, 323.75°) |
| OKLab | oklab(74.13% 0.0761 -0.0553) |
| OKLCH | oklch(74.13% 0.094 324) |
| XYZ | xyz(46.1722, 38.9598, 62.8335) |
| Luminance | 0.3896 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 4.06
Lilac
#C8A2C8
ΔE00 4.59
Pale Purple
#B790D4
ΔE00 5.65
Lavender Pink
#DD85D7
ΔE00 6.78
Lavender (survey)
#C79FEF
ΔE00 7.55
Lavender
#B39DDB
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C997CD #9BCD97
analogous
#AE97CD #C997CD #CD97B6
triadic
#C997CD #CDC997 #97CDC9
tetradic
#C997CD #CDAE97 #9BCD97 #97B6CD
square
#C997CD #CDAE97 #9BCD97 #97B6CD
split-complementary
#C997CD #B6CD97 #97CDAE
monochromatic
#984C9E #B46EB9 #C997CD #DEC0E1 #F4EAF5
Accessibility & contrast
On white
2.39
#C997CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.79
#C997CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C997CD
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C997CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C997CD | 1.00 | 2.39 | 8.79 | 8.79 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93A4CF
Deuteranopia (green-blind)
#9EAACB
Tritanopia (blue-blind)
#CB9CAA
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #c997cd; /* rgb */ color: rgb(201, 151, 205); /* oklch */ color: oklch(74.1% 0.094 324.0);
Tailwind
colors: {
custom: {
50: '#dab6dc',
500: '#c997cd',
950: '#000000',
},
}SCSS
$custom: #c997cd; $custom-light: #dab6dc; $custom-dark: #000000;
JSON
{
"hex": "#c997cd",
"rgb": {
"r": 201,
"g": 151,
"b": 205
},
"hsl": {
"h": 295.556,
"s": 35.065,
"l": 69.804
},
"oklch": {
"l": 0.7413,
"c": 0.09404,
"h": 324
},
"luminance": 0.38959
}Semantic roles & 50–950 ramp
primary
#C997CD
secondary
#D9E8D8
accent
#AE3840
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083