#D97CD0#D97CD0

#D97CD0 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.5% C 0.155 H 330.7°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#D97CD0
RGBrgb(217, 124, 208)
HSLhsl(306, 55%, 67%)
HSVhsv(306, 43%, 85%)
CMYKcmyk(0%, 42.9%, 4.1%, 14.9%)
CIE-LABlab(64.74, 47.94, -28.05)
CIE-LCHlch(64.74, 55.54, 329.67°)
OKLaboklab(71.55% 0.1356 -0.0762)
OKLCHoklch(71.55% 0.156 330.7)
XYZxyz(47.2076, 33.7236, 63.6850)
Luminance0.3372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CD0 #7CD985
analogous
#B37CD9 #D97CD0 #D97CA2
triadic
#D97CD0 #D0D97C #7CD0D9
tetradic
#D97CD0 #D9B37C #7CD985 #7CA2D9
square
#D97CD0 #D9B37C #7CD985 #7CA2D9
split-complementary
#D97CD0 #A2D97C #7CD9B3
monochromatic
#A9319E #CB4DBF #D97CD0 #E7ABE1 #F5DBF2

Accessibility & contrast

On white

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

On black

7.74
#D97CD0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CD0
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CD0#FFFFFF#000000##000000
##D97CD01.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7895D3
Deuteranopia (green-blind)
#91A2CD
Tritanopia (blue-blind)
#E0839C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97cd0;
/* rgb */ color: rgb(217, 124, 208);
/* oklch */ color: oklch(71.5% 0.155 330.7);
Tailwind
colors: {
  custom: {
    50: '#e6a4de',
    500: '#d97cd0',
    950: '#000000',
  },
}
SCSS
$custom: #d97cd0;
$custom-light: #e6a4de;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cd0",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 208
  },
  "hsl": {
    "h": 305.806,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.7155,
    "c": 0.1555,
    "h": 330.7
  },
  "luminance": 0.33721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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