#D97CD1#D97CD1

#D97CD1 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.6% C 0.156 H 330.2°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#D97CD1
RGBrgb(217, 124, 209)
HSLhsl(305, 55%, 67%)
HSVhsv(305, 43%, 85%)
CMYKcmyk(0%, 42.9%, 3.7%, 14.9%)
CIE-LABlab(64.78, 48.12, -28.55)
CIE-LCHlch(64.78, 55.95, 329.32°)
OKLaboklab(71.59% 0.1358 -0.0776)
OKLCHoklch(71.59% 0.156 330.2)
XYZxyz(47.3310, 33.7730, 64.3350)
Luminance0.3377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CD1 #7CD984
analogous
#B37CD9 #D97CD1 #D97CA3
triadic
#D97CD1 #D1D97C #7CD1D9
tetradic
#D97CD1 #D9B37C #7CD984 #7CA3D9
square
#D97CD1 #D9B37C #7CD984 #7CA3D9
split-complementary
#D97CD1 #A3D97C #7CD9B3
monochromatic
#A9319F #CB4DC0 #D97CD1 #E7ABE2 #F5DBF2

Accessibility & contrast

On white

2.71
#D97CD1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#D97CD1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CD1
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CD1#FFFFFF#000000##000000
##D97CD11.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7895D4
Deuteranopia (green-blind)
#91A2CE
Tritanopia (blue-blind)
#E0839D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97cd1;
/* rgb */ color: rgb(217, 124, 209);
/* oklch */ color: oklch(71.6% 0.156 330.2);
Tailwind
colors: {
  custom: {
    50: '#e6a4df',
    500: '#d97cd1',
    950: '#000000',
  },
}
SCSS
$custom: #d97cd1;
$custom-light: #e6a4df;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cd1",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 209
  },
  "hsl": {
    "h": 305.161,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71592,
    "c": 0.1564,
    "h": 330.2
  },
  "luminance": 0.3377
}

Semantic roles & 50–950 ramp

primary
#D97CD1
secondary
#CAE7CC
accent
#C33123
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D97CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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