#D97DDF#D97DDF

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

Color values

HEX#D97DDF
RGBrgb(217, 125, 223)
HSLhsl(296, 60%, 68%)
HSVhsv(296, 44%, 87%)
CMYKcmyk(2.7%, 43.9%, 0%, 12.5%)
CIE-LABlab(65.55, 50.12, -35.16)
CIE-LCHlch(65.55, 61.23, 324.95°)
OKLaboklab(72.36% 0.1372 -0.0964)
OKLCHoklch(72.36% 0.168 324.9)
XYZxyz(49.2670, 34.7489, 73.9098)
Luminance0.3475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97DDF #83DF7D
analogous
#A87DDF #D97DDF #DF7DB4
triadic
#D97DDF #DFD97D #7DDFD9
tetradic
#D97DDF #DFA87D #83DF7D #7DB4DF
square
#D97DDF #DFA87D #83DF7D #7DB4DF
split-complementary
#D97DDF #B4DF7D #7DDFA8
monochromatic
#AD2DB5 #CB4CD3 #D97DDF #E7AEEB #F6DFF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D97DDF#FFFFFF#000000##000000
##D97DDF1.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)
#7398E2
Deuteranopia (green-blind)
#8CA3DC
Tritanopia (blue-blind)
#DD88A4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d97ddf;
/* rgb */ color: rgb(217, 125, 223);
/* oklch */ color: oklch(72.4% 0.168 324.9);
Tailwind
colors: {
  custom: {
    50: '#e6a5e9',
    500: '#d97ddf',
    950: '#000000',
  },
}
SCSS
$custom: #d97ddf;
$custom-light: #e6a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ddf",
  "rgb": {
    "r": 217,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 296.327,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72355,
    "c": 0.16768,
    "h": 324.9
  },
  "luminance": 0.34747
}

Semantic roles & 50–950 ramp

primary
#D97DDF
secondary
#CFEBCD
accent
#C81D28
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D97DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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