#D397CE#D397CE

#D397CE is a light, moderate purple. Relative luminance 0.404; OKLCH L 75.2% C 0.102 H 329.4°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#D397CE
RGBrgb(211, 151, 206)
HSLhsl(305, 41%, 71%)
HSVhsv(305, 28%, 83%)
CMYKcmyk(0%, 28.4%, 2.4%, 17.3%)
CIE-LABlab(69.78, 31.36, -19.29)
CIE-LCHlch(69.78, 36.82, 328.41°)
OKLaboklab(75.18% 0.0878 -0.0519)
OKLCHoklch(75.18% 0.102 329.4)
XYZxyz(49.0702, 40.4401, 63.6014)
Luminance0.4044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D397CE #97D39C
analogous
#BA97D3 #D397CE #D397B0
triadic
#D397CE #CED397 #97CED3
tetradic
#D397CE #D3BA97 #97D39C #97B0D3
square
#D397CE #D3BA97 #97D39C #97B0D3
split-complementary
#D397CE #B0D397 #97D3BA
monochromatic
#A847A0 #C16CBA #D397CE #E5C2E2 #F6E9F5

Accessibility & contrast

On white

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

On black

9.09
#D397CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D397CE
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D397CE#FFFFFF#000000##000000
##D397CE1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A6D0
Deuteranopia (green-blind)
#A3ADCC
Tritanopia (blue-blind)
#D89BAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d397ce;
/* rgb */ color: rgb(211, 151, 206);
/* oklch */ color: oklch(75.2% 0.102 329.4);
Tailwind
colors: {
  custom: {
    50: '#e1b6dd',
    500: '#d397ce',
    950: '#000000',
  },
}
SCSS
$custom: #d397ce;
$custom-light: #e1b6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d397ce",
  "rgb": {
    "r": 211,
    "g": 151,
    "b": 206
  },
  "hsl": {
    "h": 305,
    "s": 40.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75184,
    "c": 0.102,
    "h": 329.4
  },
  "luminance": 0.40438
}

Semantic roles & 50–950 ramp

primary
#D397CE
secondary
#DBEBDC
accent
#B43D32
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #D397CE

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

Preview Lab → · Contrast checker → · Palette generator →

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