#D97DCE#D97DCE

#D97DCE is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.6% C 0.152 H 331.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#D97DCE
RGBrgb(217, 125, 206)
HSLhsl(307, 55%, 67%)
HSVhsv(307, 42%, 85%)
CMYKcmyk(0%, 42.4%, 5.1%, 14.9%)
CIE-LABlab(64.87, 47.08, -26.74)
CIE-LCHlch(64.87, 54.14, 330.41°)
OKLaboklab(71.62% 0.1336 -0.0725)
OKLCHoklch(71.62% 0.152 331.5)
XYZxyz(47.0890, 33.8777, 62.4393)
Luminance0.3387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97DCE #7DD988
analogous
#B67DD9 #D97DCE #D97DA0
triadic
#D97DCE #CED97D #7DCED9
tetradic
#D97DCE #D9B67D #7DD988 #7DA0D9
square
#D97DCE #D9B67D #7DD988 #7DA0D9
split-complementary
#D97DCE #A0D97D #7DD9B6
monochromatic
#AA329C #CB4EBC #D97DCE #E7ACE0 #F5DCF2

Accessibility & contrast

On white

2.70
#D97DCE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#D97DCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97DCE
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97DCE#FFFFFF#000000##000000
##D97DCE1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95D1
Deuteranopia (green-blind)
#93A2CB
Tritanopia (blue-blind)
#E0839C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97dce;
/* rgb */ color: rgb(217, 125, 206);
/* oklch */ color: oklch(71.6% 0.152 331.5);
Tailwind
colors: {
  custom: {
    50: '#e6a5dd',
    500: '#d97dce',
    950: '#000000',
  },
}
SCSS
$custom: #d97dce;
$custom-light: #e6a5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d97dce",
  "rgb": {
    "r": 217,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 307.174,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71616,
    "c": 0.15204,
    "h": 331.5
  },
  "luminance": 0.33875
}

Semantic roles & 50–950 ramp

primary
#D97DCE
secondary
#CAE8CE
accent
#C23623
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D97DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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