#D397CD#D397CD
#D397CD is a light, moderate purple. Relative luminance 0.404; OKLCH L 75.1% C 0.101 H 330.0°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #D397CD |
|---|---|
| RGB | rgb(211, 151, 205) |
| HSL | hsl(306, 41%, 71%) |
| HSV | hsv(306, 28%, 83%) |
| CMYK | cmyk(0%, 28.4%, 2.8%, 17.3%) |
| CIE-LAB | lab(69.75, 31.18, -18.78) |
| CIE-LCH | lch(69.75, 36.40, 328.93°) |
| OKLab | oklab(75.15% 0.0875 -0.0505) |
| OKLCH | oklch(75.15% 0.101 330) |
| XYZ | xyz(48.9491, 40.3916, 62.9637) |
| Luminance | 0.4039 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Plum
#DDA0DD
ΔE00 3.18
Lilac
#C8A2C8
ΔE00 5.15
Lavender Pink
#DD85D7
ΔE00 6.01
Pale Purple
#B790D4
ΔE00 7.57
Lavender (survey)
#C79FEF
ΔE00 8.87
Bubblegum Pink
#FE83CC
ΔE00 9.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D397CD #97D39D
analogous
#BB97D3 #D397CD #D397AF
triadic
#D397CD #CDD397 #97CDD3
tetradic
#D397CD #D3BB97 #97D39D #97AFD3
square
#D397CD #D3BB97 #97D39D #97AFD3
split-complementary
#D397CD #AFD397 #97D3BB
monochromatic
#A8479F #C16CB8 #D397CD #E5C2E2 #F6E9F5
Accessibility & contrast
On white
2.31
#D397CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#D397CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D397CD
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D397CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D397CD | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95A5CF
Deuteranopia (green-blind)
#A3ADCB
Tritanopia (blue-blind)
#D89BAA
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #d397cd; /* rgb */ color: rgb(211, 151, 205); /* oklch */ color: oklch(75.1% 0.101 330.0);
Tailwind
colors: {
custom: {
50: '#e1b6dc',
500: '#d397cd',
950: '#000000',
},
}SCSS
$custom: #d397cd; $custom-light: #e1b6dc; $custom-dark: #000000;
JSON
{
"hex": "#d397cd",
"rgb": {
"r": 211,
"g": 151,
"b": 205
},
"hsl": {
"h": 306,
"s": 40.541,
"l": 70.98
},
"oklch": {
"l": 0.75147,
"c": 0.10104,
"h": 330
},
"luminance": 0.4039
}Semantic roles & 50–950 ramp
primary
#D397CD
secondary
#DBEBDD
accent
#B43F32
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083