#D397DE#D397DE

#D397DE is a light, moderate purple. Relative luminance 0.413; OKLCH L 75.8% C 0.118 H 321.2°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#D397DE
RGBrgb(211, 151, 222)
HSLhsl(291, 52%, 73%)
HSVhsv(291, 32%, 87%)
CMYKcmyk(5%, 32%, 0%, 12.9%)
CIE-LABlab(70.36, 34.38, -27.24)
CIE-LCHlch(70.36, 43.86, 321.61°)
OKLaboklab(75.81% 0.0922 -0.0742)
OKLCHoklch(75.81% 0.118 321.2)
XYZxyz(51.1138, 41.2575, 74.3640)
Luminance0.4126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D397DE #A2DE97
analogous
#AF97DE #D397DE #DE97C5
triadic
#D397DE #DED397 #97DED3
tetradic
#D397DE #DEAF97 #A2DE97 #97C5DE
square
#D397DE #DEAF97 #A2DE97 #97C5DE
split-complementary
#D397DE #C5DE97 #97DEAF
monochromatic
#AA3CBE #BF69CF #D397DE #E7C5ED #F5E8F8

Accessibility & contrast

On white

2.27
#D397DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#D397DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D397DE
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D397DE#FFFFFF#000000##000000
##D397DE1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA8E1
Deuteranopia (green-blind)
#9DAEDC
Tritanopia (blue-blind)
#D59FB1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d397de;
/* rgb */ color: rgb(211, 151, 222);
/* oklch */ color: oklch(75.8% 0.118 321.2);
Tailwind
colors: {
  custom: {
    50: '#e1b6e8',
    500: '#d397de',
    950: '#000000',
  },
}
SCSS
$custom: #d397de;
$custom-light: #e1b6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d397de",
  "rgb": {
    "r": 211,
    "g": 151,
    "b": 222
  },
  "hsl": {
    "h": 290.704,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7581,
    "c": 0.1184,
    "h": 321.2
  },
  "luminance": 0.41256
}

Semantic roles & 50–950 ramp

primary
#D397DE
secondary
#DFEFDC
accent
#BF263E
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D397DE

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

Preview Lab → · Contrast checker → · Palette generator →

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