#D397EE#D397EE

#D397EE is a light, vivid purple. Relative luminance 0.422; OKLCH L 76.5% C 0.136 H 314.9°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#D397EE
RGBrgb(211, 151, 238)
HSLhsl(281, 72%, 76%)
HSVhsv(281, 37%, 93%)
CMYKcmyk(11.3%, 36.6%, 0%, 6.7%)
CIE-LABlab(70.98, 37.57, -35.05)
CIE-LCHlch(70.98, 51.38, 316.98°)
OKLaboklab(76.49% 0.0961 -0.0964)
OKLCHoklch(76.49% 0.136 314.9)
XYZxyz(53.3608, 42.1563, 86.1983)
Luminance0.4215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D397EE #B2EE97
analogous
#A897EE #D397EE #EE97DE
triadic
#D397EE #EED397 #97EED3
tetradic
#D397EE #EEA897 #B2EE97 #97DEEE
square
#D397EE #EEA897 #B2EE97 #97DEEE
split-complementary
#D397EE #DEEE97 #97EEA8
monochromatic
#A62EDD #BD62E5 #D397EE #E9CCF7 #F4E5FB

Accessibility & contrast

On white

2.23
#D397EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#D397EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D397EE
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D397EE#FFFFFF#000000##000000
##D397EE1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAF1
Deuteranopia (green-blind)
#97AFEB
Tritanopia (blue-blind)
#D2A2B8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d397ee;
/* rgb */ color: rgb(211, 151, 238);
/* oklch */ color: oklch(76.5% 0.136 314.9);
Tailwind
colors: {
  custom: {
    50: '#e1b6f4',
    500: '#d397ee',
    950: '#000000',
  },
}
SCSS
$custom: #d397ee;
$custom-light: #e1b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d397ee",
  "rgb": {
    "r": 211,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 281.379,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76487,
    "c": 0.13613,
    "h": 314.9
  },
  "luminance": 0.42155
}

Semantic roles & 50–950 ramp

primary
#D397EE
secondary
#E1F2D9
accent
#D4124E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D397EE

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

Preview Lab → · Contrast checker → · Palette generator →

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