#D97CD8#D97CD8

#D97CD8 is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.9% C 0.163 H 327.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#D97CD8
RGBrgb(217, 124, 216)
HSLhsl(301, 55%, 67%)
HSVhsv(301, 43%, 85%)
CMYKcmyk(0%, 42.9%, 0.5%, 14.9%)
CIE-LABlab(65.06, 49.36, -32.02)
CIE-LCHlch(65.06, 58.84, 327.03°)
OKLaboklab(71.9% 0.1373 -0.0875)
OKLCHoklch(71.9% 0.163 327.5)
XYZxyz(48.2167, 34.1273, 68.9999)
Luminance0.3412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CD8 #7CD97D
analogous
#AC7CD9 #D97CD8 #D97CAA
triadic
#D97CD8 #D8D97C #7CD8D9
tetradic
#D97CD8 #D9AC7C #7CD97D #7CAAD9
square
#D97CD8 #D9AC7C #7CD97D #7CAAD9
split-complementary
#D97CD8 #AAD97C #7CD9AC
monochromatic
#A931A8 #CB4DCA #D97CD8 #E7ABE6 #F5DBF4

Accessibility & contrast

On white

2.68
#D97CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#D97CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CD8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CD8#FFFFFF#000000##000000
##D97CD81.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7596DB
Deuteranopia (green-blind)
#8EA2D5
Tritanopia (blue-blind)
#DE85A0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d97cd8;
/* rgb */ color: rgb(217, 124, 216);
/* oklch */ color: oklch(71.9% 0.163 327.5);
Tailwind
colors: {
  custom: {
    50: '#e6a4e4',
    500: '#d97cd8',
    950: '#000000',
  },
}
SCSS
$custom: #d97cd8;
$custom-light: #e6a4e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cd8",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 300.645,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71895,
    "c": 0.16276,
    "h": 327.5
  },
  "luminance": 0.34125
}

Semantic roles & 50–950 ramp

primary
#D97CD8
secondary
#CAE7CA
accent
#C32523
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D97CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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