#D97DCF#D97DCF

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

Color values

HEX#D97DCF
RGBrgb(217, 125, 207)
HSLhsl(307, 55%, 67%)
HSVhsv(307, 42%, 85%)
CMYKcmyk(0%, 42.4%, 4.6%, 14.9%)
CIE-LABlab(64.90, 47.25, -27.24)
CIE-LCHlch(64.90, 54.54, 330.04°)
OKLaboklab(71.66% 0.1339 -0.0739)
OKLCHoklch(71.66% 0.153 331.1)
XYZxyz(47.2109, 33.9265, 63.0811)
Luminance0.3392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97DCF #7DD987
analogous
#B57DD9 #D97DCF #D97DA1
triadic
#D97DCF #CFD97D #7DCFD9
tetradic
#D97DCF #D9B57D #7DD987 #7DA1D9
square
#D97DCF #D9B57D #7DD987 #7DA1D9
split-complementary
#D97DCF #A1D97D #7DD9B5
monochromatic
#AA329D #CB4EBE #D97DCF #E7ACE0 #F5DCF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D97DCF#FFFFFF#000000##000000
##D97DCF1.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)
#7A95D2
Deuteranopia (green-blind)
#92A2CC
Tritanopia (blue-blind)
#E0839C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97dcf;
/* rgb */ color: rgb(217, 125, 207);
/* oklch */ color: oklch(71.7% 0.153 331.1);
Tailwind
colors: {
  custom: {
    50: '#e6a5de',
    500: '#d97dcf',
    950: '#000000',
  },
}
SCSS
$custom: #d97dcf;
$custom-light: #e6a5de;
$custom-dark: #000000;
JSON
{
  "hex": "#d97dcf",
  "rgb": {
    "r": 217,
    "g": 125,
    "b": 207
  },
  "hsl": {
    "h": 306.522,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71658,
    "c": 0.15292,
    "h": 331.1
  },
  "luminance": 0.33924
}

Semantic roles & 50–950 ramp

primary
#D97DCF
secondary
#CAE8CD
accent
#C23523
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D97DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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