#D397D8#D397D8

#D397D8 is a light, moderate purple. Relative luminance 0.409; OKLCH L 75.6% C 0.112 H 324.0°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#D397D8
RGBrgb(211, 151, 216)
HSLhsl(295, 45%, 72%)
HSVhsv(295, 30%, 85%)
CMYKcmyk(2.3%, 30.1%, 0%, 15.3%)
CIE-LABlab(70.13, 33.23, -24.27)
CIE-LCHlch(70.13, 41.15, 323.85°)
OKLaboklab(75.57% 0.0906 -0.0659)
OKLCHoklch(75.57% 0.112 324)
XYZxyz(50.3239, 40.9415, 70.2040)
Luminance0.4094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D397D8 #9CD897
analogous
#B397D8 #D397D8 #D897BD
triadic
#D397D8 #D8D397 #97D8D3
tetradic
#D397D8 #D8B397 #9CD897 #97BDD8
square
#D397D8 #D8B397 #9CD897 #97BDD8
split-complementary
#D397D8 #BDD897 #97D8B3
monochromatic
#A943B2 #C06AC7 #D397D8 #E6C4E9 #F6E9F7

Accessibility & contrast

On white

2.29
#D397D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#D397D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D397D8
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D397D8#FFFFFF#000000##000000
##D397D81.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A7DB
Deuteranopia (green-blind)
#9FAED6
Tritanopia (blue-blind)
#D69DAE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d397d8;
/* rgb */ color: rgb(211, 151, 216);
/* oklch */ color: oklch(75.6% 0.112 324.0);
Tailwind
colors: {
  custom: {
    50: '#e1b6e4',
    500: '#d397d8',
    950: '#000000',
  },
}
SCSS
$custom: #d397d8;
$custom-light: #e1b6e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d397d8",
  "rgb": {
    "r": 211,
    "g": 151,
    "b": 216
  },
  "hsl": {
    "h": 295.385,
    "s": 45.455,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7557,
    "c": 0.11205,
    "h": 324
  },
  "luminance": 0.4094
}

Semantic roles & 50–950 ramp

primary
#D397D8
secondary
#DFEEDD
accent
#B92D38
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #D397D8

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

Preview Lab → · Contrast checker → · Palette generator →

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