#D97EDA#D97EDA

#D97EDA is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.3% C 0.161 H 326.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#D97EDA
RGBrgb(217, 126, 218)
HSLhsl(299, 55%, 67%)
HSVhsv(299, 42%, 85%)
CMYKcmyk(0.5%, 42.2%, 0%, 14.5%)
CIE-LABlab(65.54, 48.70, -32.39)
CIE-LCHlch(65.54, 58.49, 326.37°)
OKLaboklab(72.28% 0.1348 -0.0885)
OKLCHoklch(72.28% 0.161 326.7)
XYZxyz(48.7300, 34.7377, 70.4543)
Luminance0.3473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EDA #7FDA7E
analogous
#AB7EDA #D97EDA #DA7EAD
triadic
#D97EDA #DAD97E #7EDAD9
tetradic
#D97EDA #DAAB7E #7FDA7E #7EADDA
square
#D97EDA #DAAB7E #7FDA7E #7EADDA
split-complementary
#D97EDA #ADDA7E #7EDAAB
monochromatic
#AB31AC #CB4ECC #D97EDA #E7AEE8 #F5DDF5

Accessibility & contrast

On white

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

On black

7.95
#D97EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EDA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EDA#FFFFFF#000000##000000
##D97EDA1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DD
Deuteranopia (green-blind)
#8FA3D7
Tritanopia (blue-blind)
#DE87A2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d97eda;
/* rgb */ color: rgb(217, 126, 218);
/* oklch */ color: oklch(72.3% 0.161 326.7);
Tailwind
colors: {
  custom: {
    50: '#e6a6e5',
    500: '#d97eda',
    950: '#000000',
  },
}
SCSS
$custom: #d97eda;
$custom-light: #e6a6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d97eda",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 299.348,
    "s": 55.422,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72281,
    "c": 0.16127,
    "h": 326.7
  },
  "luminance": 0.34735
}

Semantic roles & 50–950 ramp

primary
#D97EDA
secondary
#CCE8CC
accent
#C32324
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D97EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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