#D97DED#D97DED

#D97DED is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.0% C 0.181 H 320.3°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#D97DED
RGBrgb(217, 125, 237)
HSLhsl(289, 76%, 71%)
HSVhsv(289, 47%, 93%)
CMYKcmyk(8.4%, 47.3%, 0%, 7.1%)
CIE-LABlab(66.16, 52.77, -41.96)
CIE-LCHlch(66.16, 67.42, 321.51°)
OKLaboklab(73.01% 0.1395 -0.116)
OKLCHoklch(73.01% 0.181 320.3)
XYZxyz(51.2331, 35.5353, 84.2646)
Luminance0.3553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97DED #91ED7D
analogous
#A17DED #D97DED #ED7DC9
triadic
#D97DED #EDD97D #7DEDD9
tetradic
#D97DED #EDA17D #91ED7D #7DC9ED
square
#D97DED #EDA17D #91ED7D #7DC9ED
split-complementary
#D97DED #C9ED7D #7DEDA1
monochromatic
#B21DD2 #C947E6 #D97DED #E9B3F4 #F7E4FB

Accessibility & contrast

On white

2.59
#D97DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#D97DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97DED
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97DED#FFFFFF#000000##000000
##D97DED1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AF1
Deuteranopia (green-blind)
#86A4EA
Tritanopia (blue-blind)
#DA8CAA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d97ded;
/* rgb */ color: rgb(217, 125, 237);
/* oklch */ color: oklch(73.0% 0.181 320.3);
Tailwind
colors: {
  custom: {
    50: '#e7a5f3',
    500: '#d97ded',
    950: '#000000',
  },
}
SCSS
$custom: #d97ded;
$custom-light: #e7a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ded",
  "rgb": {
    "r": 217,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 289.286,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7301,
    "c": 0.18139,
    "h": 320.3
  },
  "luminance": 0.35533
}

Semantic roles & 50–950 ramp

primary
#D97DED
secondary
#D9F2D4
accent
#D80E32
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D97DED

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

Preview Lab → · Contrast checker → · Palette generator →

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