#D397CB#D397CB

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

Color values

HEX#D397CB
RGBrgb(211, 151, 203)
HSLhsl(308, 41%, 71%)
HSVhsv(308, 28%, 83%)
CMYKcmyk(0%, 28.4%, 3.8%, 17.3%)
CIE-LABlab(69.68, 30.82, -17.78)
CIE-LCHlch(69.68, 35.58, 330.02°)
OKLaboklab(75.07% 0.0869 -0.0478)
OKLCHoklch(75.07% 0.099 331.2)
XYZxyz(48.7093, 40.2957, 61.7004)
Luminance0.4029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D397CB #97D39F
analogous
#BD97D3 #D397CB #D397AD
triadic
#D397CB #CBD397 #97CBD3
tetradic
#D397CB #D3BD97 #97D39F #97ADD3
square
#D397CB #D3BD97 #97D39F #97ADD3
split-complementary
#D397CB #ADD397 #97D3BD
monochromatic
#A8479B #C16CB5 #D397CB #E5C2E1 #F6E9F4

Accessibility & contrast

On white

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

On black

9.06
#D397CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D397CB
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D397CB#FFFFFF#000000##000000
##D397CB1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A5CD
Deuteranopia (green-blind)
#A4ADC9
Tritanopia (blue-blind)
#D89AA9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d397cb;
/* rgb */ color: rgb(211, 151, 203);
/* oklch */ color: oklch(75.1% 0.099 331.2);
Tailwind
colors: {
  custom: {
    50: '#e1b6db',
    500: '#d397cb',
    950: '#000000',
  },
}
SCSS
$custom: #d397cb;
$custom-light: #e1b6db;
$custom-dark: #000000;
JSON
{
  "hex": "#d397cb",
  "rgb": {
    "r": 211,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 308,
    "s": 40.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75072,
    "c": 0.09915,
    "h": 331.2
  },
  "luminance": 0.40294
}

Semantic roles & 50–950 ramp

primary
#D397CB
secondary
#DBEBDD
accent
#B44332
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083

Preview Lab

Preview with #D397CB

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

Preview Lab → · Contrast checker → · Palette generator →

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