#D397DB#D397DB

#D397DB is a light, moderate purple. Relative luminance 0.411; OKLCH L 75.7% C 0.115 H 322.5°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#D397DB
RGBrgb(211, 151, 219)
HSLhsl(293, 49%, 73%)
HSVhsv(293, 31%, 86%)
CMYKcmyk(3.7%, 31.1%, 0%, 14.1%)
CIE-LABlab(70.24, 33.80, -25.76)
CIE-LCHlch(70.24, 42.50, 322.69°)
OKLaboklab(75.69% 0.0915 -0.07)
OKLCHoklch(75.69% 0.115 322.5)
XYZxyz(50.7153, 41.0981, 72.2653)
Luminance0.4110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D397DB #9FDB97
analogous
#B197DB #D397DB #DB97C1
triadic
#D397DB #DBD397 #97DBD3
tetradic
#D397DB #DBB197 #9FDB97 #97C1DB
square
#D397DB #DBB197 #9FDB97 #97C1DB
split-complementary
#D397DB #C1DB97 #97DBB1
monochromatic
#AA40B8 #C06ACB #D397DB #E6C4EB #F5E8F7

Accessibility & contrast

On white

2.28
#D397DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#D397DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D397DB
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D397DB#FFFFFF#000000##000000
##D397DB1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A7DE
Deuteranopia (green-blind)
#9EAED9
Tritanopia (blue-blind)
#D59EB0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d397db;
/* rgb */ color: rgb(211, 151, 219);
/* oklch */ color: oklch(75.7% 0.115 322.5);
Tailwind
colors: {
  custom: {
    50: '#e1b6e6',
    500: '#d397db',
    950: '#000000',
  },
}
SCSS
$custom: #d397db;
$custom-light: #e1b6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d397db",
  "rgb": {
    "r": 211,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 292.941,
    "s": 48.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75689,
    "c": 0.1152,
    "h": 322.5
  },
  "luminance": 0.41097
}

Semantic roles & 50–950 ramp

primary
#D397DB
secondary
#DFEEDD
accent
#BC2A3B
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D397DB

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

Preview Lab → · Contrast checker → · Palette generator →

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