#D97DE0#D97DE0

#D97DE0 is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.4% C 0.169 H 324.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#D97DE0
RGBrgb(217, 125, 224)
HSLhsl(296, 61%, 68%)
HSVhsv(296, 44%, 88%)
CMYKcmyk(3.1%, 44.2%, 0%, 12.2%)
CIE-LABlab(65.59, 50.31, -35.65)
CIE-LCHlch(65.59, 61.66, 324.68°)
OKLaboklab(72.4% 0.1374 -0.0978)
OKLCHoklch(72.4% 0.169 324.5)
XYZxyz(49.4022, 34.8030, 74.6220)
Luminance0.3480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97DE0 #84E07D
analogous
#A77DE0 #D97DE0 #E07DB5
triadic
#D97DE0 #E0D97D #7DE0D9
tetradic
#D97DE0 #E0A77D #84E07D #7DB5E0
square
#D97DE0 #E0A77D #84E07D #7DB5E0
split-complementary
#D97DE0 #B5E07D #7DE0A7
monochromatic
#AD2CB7 #CB4CD4 #D97DE0 #E7AEEC #F6E0F8

Accessibility & contrast

On white

2.64
#D97DE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#D97DE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97DE0
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97DE0#FFFFFF#000000##000000
##D97DE01.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7298E3
Deuteranopia (green-blind)
#8CA3DD
Tritanopia (blue-blind)
#DD88A4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d97de0;
/* rgb */ color: rgb(217, 125, 224);
/* oklch */ color: oklch(72.4% 0.169 324.5);
Tailwind
colors: {
  custom: {
    50: '#e6a5ea',
    500: '#d97de0',
    950: '#000000',
  },
}
SCSS
$custom: #d97de0;
$custom-light: #e6a5ea;
$custom-dark: #000000;
JSON
{
  "hex": "#d97de0",
  "rgb": {
    "r": 217,
    "g": 125,
    "b": 224
  },
  "hsl": {
    "h": 295.758,
    "s": 61.491,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72401,
    "c": 0.16863,
    "h": 324.5
  },
  "luminance": 0.34801
}

Semantic roles & 50–950 ramp

primary
#D97DE0
secondary
#D0EBCE
accent
#C91C29
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D97DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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