#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
RGBrgb(211, 151, 205)
HSLhsl(306, 41%, 71%)
HSVhsv(306, 28%, 83%)
CMYKcmyk(0%, 28.4%, 2.8%, 17.3%)
CIE-LABlab(69.75, 31.18, -18.78)
CIE-LCHlch(69.75, 36.40, 328.93°)
OKLaboklab(75.15% 0.0875 -0.0505)
OKLCHoklch(75.15% 0.101 330)
XYZxyz(48.9491, 40.3916, 62.9637)
Luminance0.4039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

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
##D397CD1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.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

Preview Lab

Preview with #D397CD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D397CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva