#D397CF#D397CF

#D397CF is a light, moderate purple. Relative luminance 0.405; OKLCH L 75.2% C 0.103 H 328.8°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#D397CF
RGBrgb(211, 151, 207)
HSLhsl(304, 41%, 71%)
HSVhsv(304, 28%, 83%)
CMYKcmyk(0%, 28.4%, 1.9%, 17.3%)
CIE-LABlab(69.82, 31.54, -19.79)
CIE-LCHlch(69.82, 37.24, 327.90°)
OKLaboklab(75.22% 0.0881 -0.0533)
OKLCHoklch(75.22% 0.103 328.8)
XYZxyz(49.1921, 40.4888, 64.2433)
Luminance0.4049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D397CF #97D39B
analogous
#B997D3 #D397CF #D397B1
triadic
#D397CF #CFD397 #97CFD3
tetradic
#D397CF #D3B997 #97D39B #97B1D3
square
#D397CF #D3B997 #97D39B #97B1D3
split-complementary
#D397CF #B1D397 #97D3B9
monochromatic
#A847A2 #C16CBB #D397CF #E5C2E3 #F6E9F5

Accessibility & contrast

On white

2.31
#D397CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#D397CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D397CF
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D397CF#FFFFFF#000000##000000
##D397CF1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A6D1
Deuteranopia (green-blind)
#A2ADCD
Tritanopia (blue-blind)
#D79BAB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d397cf;
/* rgb */ color: rgb(211, 151, 207);
/* oklch */ color: oklch(75.2% 0.103 328.8);
Tailwind
colors: {
  custom: {
    50: '#e1b6dd',
    500: '#d397cf',
    950: '#000000',
  },
}
SCSS
$custom: #d397cf;
$custom-light: #e1b6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d397cf",
  "rgb": {
    "r": 211,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 304,
    "s": 40.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75222,
    "c": 0.10298,
    "h": 328.8
  },
  "luminance": 0.40487
}

Semantic roles & 50–950 ramp

primary
#D397CF
secondary
#DBEBDC
accent
#B43B32
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #D397CF

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

Preview Lab → · Contrast checker → · Palette generator →

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