#D397CC#D397CC

#D397CC is a light, moderate purple. Relative luminance 0.403; OKLCH L 75.1% C 0.100 H 330.6°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#D397CC
RGBrgb(211, 151, 204)
HSLhsl(307, 41%, 71%)
HSVhsv(307, 28%, 83%)
CMYKcmyk(0%, 28.4%, 3.3%, 17.3%)
CIE-LABlab(69.71, 31.00, -18.28)
CIE-LCHlch(69.71, 35.99, 329.47°)
OKLaboklab(75.11% 0.0872 -0.0491)
OKLCHoklch(75.11% 0.1 330.6)
XYZxyz(48.8288, 40.3435, 62.3300)
Luminance0.4034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D397CC #97D39E
analogous
#BC97D3 #D397CC #D397AE
triadic
#D397CC #CCD397 #97CCD3
tetradic
#D397CC #D3BC97 #97D39E #97AED3
square
#D397CC #D3BC97 #97D39E #97AED3
split-complementary
#D397CC #AED397 #97D3BC
monochromatic
#A8479D #C16CB7 #D397CC #E5C2E1 #F6E9F4

Accessibility & contrast

On white

2.32
#D397CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#D397CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D397CC
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D397CC#FFFFFF#000000##000000
##D397CC1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A5CE
Deuteranopia (green-blind)
#A3ADCA
Tritanopia (blue-blind)
#D89BAA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d397cc;
/* rgb */ color: rgb(211, 151, 204);
/* oklch */ color: oklch(75.1% 0.100 330.6);
Tailwind
colors: {
  custom: {
    50: '#e1b6db',
    500: '#d397cc',
    950: '#000000',
  },
}
SCSS
$custom: #d397cc;
$custom-light: #e1b6db;
$custom-dark: #000000;
JSON
{
  "hex": "#d397cc",
  "rgb": {
    "r": 211,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 307,
    "s": 40.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75109,
    "c": 0.10009,
    "h": 330.6
  },
  "luminance": 0.40342
}

Semantic roles & 50–950 ramp

primary
#D397CC
secondary
#DBEBDD
accent
#B44132
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #D397CC

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

Preview Lab → · Contrast checker → · Palette generator →

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