#D97CDD#D97CDD

#D97CDD is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.1% C 0.167 H 325.6°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#D97CDD
RGBrgb(217, 124, 221)
HSLhsl(298, 59%, 68%)
HSVhsv(298, 44%, 87%)
CMYKcmyk(1.8%, 43.9%, 0%, 13.3%)
CIE-LABlab(65.27, 50.27, -34.49)
CIE-LCHlch(65.27, 60.96, 325.55°)
OKLaboklab(72.12% 0.1382 -0.0945)
OKLCHoklch(72.12% 0.167 325.6)
XYZxyz(48.8730, 34.3898, 72.4561)
Luminance0.3439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CDD #80DD7C
analogous
#A97CDD #D97CDD #DD7CB0
triadic
#D97CDD #DDD97C #7CDDD9
tetradic
#D97CDD #DDA97C #80DD7C #7CB0DD
square
#D97CDD #DDA97C #80DD7C #7CB0DD
split-complementary
#D97CDD #B0DD7C #7CDDA9
monochromatic
#AB2EB1 #CB4BD0 #D97CDD #E7ADEA #F5DDF6

Accessibility & contrast

On white

2.67
#D97CDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#D97CDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CDD
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CDD#FFFFFF#000000##000000
##D97CDD1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297E0
Deuteranopia (green-blind)
#8CA3DA
Tritanopia (blue-blind)
#DD86A2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d97cdd;
/* rgb */ color: rgb(217, 124, 221);
/* oklch */ color: oklch(72.1% 0.167 325.6);
Tailwind
colors: {
  custom: {
    50: '#e6a4e8',
    500: '#d97cdd',
    950: '#000000',
  },
}
SCSS
$custom: #d97cdd;
$custom-light: #e6a4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cdd",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 221
  },
  "hsl": {
    "h": 297.526,
    "s": 58.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72118,
    "c": 0.16744,
    "h": 325.6
  },
  "luminance": 0.34387
}

Semantic roles & 50–950 ramp

primary
#D97CDD
secondary
#CDE9CB
accent
#C61F26
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D97CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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