#D97CD3#D97CD3

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

Color values

HEX#D97CD3
RGBrgb(217, 124, 211)
HSLhsl(304, 55%, 67%)
HSVhsv(304, 43%, 85%)
CMYKcmyk(0%, 42.9%, 2.8%, 14.9%)
CIE-LABlab(64.86, 48.47, -29.54)
CIE-LCHlch(64.86, 56.76, 328.64°)
OKLaboklab(71.68% 0.1362 -0.0804)
OKLCHoklch(71.68% 0.158 329.4)
XYZxyz(47.5802, 33.8726, 65.6473)
Luminance0.3387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CD3 #7CD982
analogous
#B17CD9 #D97CD3 #D97CA5
triadic
#D97CD3 #D3D97C #7CD3D9
tetradic
#D97CD3 #D9B17C #7CD982 #7CA5D9
square
#D97CD3 #D9B17C #7CD982 #7CA5D9
split-complementary
#D97CD3 #A5D97C #7CD9B1
monochromatic
#A931A2 #CB4DC3 #D97CD3 #E7ABE3 #F5DBF3

Accessibility & contrast

On white

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

On black

7.77
#D97CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CD3
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CD3#FFFFFF#000000##000000
##D97CD31.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7795D6
Deuteranopia (green-blind)
#90A2D0
Tritanopia (blue-blind)
#DF849E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97cd3;
/* rgb */ color: rgb(217, 124, 211);
/* oklch */ color: oklch(71.7% 0.158 329.4);
Tailwind
colors: {
  custom: {
    50: '#e6a4e0',
    500: '#d97cd3',
    950: '#000000',
  },
}
SCSS
$custom: #d97cd3;
$custom-light: #e6a4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cd3",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 211
  },
  "hsl": {
    "h": 303.871,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71677,
    "c": 0.15818,
    "h": 329.4
  },
  "luminance": 0.3387
}

Semantic roles & 50–950 ramp

primary
#D97CD3
secondary
#CAE7CB
accent
#C32D23
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D97CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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