#D397D2#D397D2

#D397D2 is a light, moderate purple. Relative luminance 0.406; OKLCH L 75.3% C 0.106 H 327.1°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#D397D2
RGBrgb(211, 151, 210)
HSLhsl(301, 41%, 71%)
HSVhsv(301, 28%, 83%)
CMYKcmyk(0%, 28.4%, 0.5%, 17.3%)
CIE-LABlab(69.92, 32.10, -21.29)
CIE-LCHlch(69.92, 38.52, 326.45°)
OKLaboklab(75.34% 0.089 -0.0575)
OKLCHoklch(75.34% 0.106 327.1)
XYZxyz(49.5623, 40.6369, 66.1932)
Luminance0.4063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D397D2 #97D398
analogous
#B697D3 #D397D2 #D397B4
triadic
#D397D2 #D2D397 #97D2D3
tetradic
#D397D2 #D3B697 #97D398 #97B4D3
square
#D397D2 #D3B697 #97D398 #97B4D3
split-complementary
#D397D2 #B4D397 #97D3B6
monochromatic
#A847A7 #C16CBF #D397D2 #E5C2E5 #F6E9F6

Accessibility & contrast

On white

2.30
#D397D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#D397D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D397D2
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D397D2#FFFFFF#000000##000000
##D397D21.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A6D4
Deuteranopia (green-blind)
#A1AED0
Tritanopia (blue-blind)
#D79CAC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d397d2;
/* rgb */ color: rgb(211, 151, 210);
/* oklch */ color: oklch(75.3% 0.106 327.1);
Tailwind
colors: {
  custom: {
    50: '#e1b6e0',
    500: '#d397d2',
    950: '#000000',
  },
}
SCSS
$custom: #d397d2;
$custom-light: #e1b6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d397d2",
  "rgb": {
    "r": 211,
    "g": 151,
    "b": 210
  },
  "hsl": {
    "h": 301,
    "s": 40.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75336,
    "c": 0.10593,
    "h": 327.1
  },
  "luminance": 0.40635
}

Semantic roles & 50–950 ramp

primary
#D397D2
secondary
#DBEBDB
accent
#B43432
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #D397D2

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

Preview Lab → · Contrast checker → · Palette generator →

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