#D97CD5#D97CD5

#D97CD5 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.8% C 0.160 H 328.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#D97CD5
RGBrgb(217, 124, 213)
HSLhsl(303, 55%, 67%)
HSVhsv(303, 43%, 85%)
CMYKcmyk(0%, 42.9%, 1.8%, 14.9%)
CIE-LABlab(64.94, 48.82, -30.54)
CIE-LCHlch(64.94, 57.59, 327.98°)
OKLaboklab(71.76% 0.1366 -0.0832)
OKLCHoklch(71.76% 0.16 328.6)
XYZxyz(47.8324, 33.9735, 66.9759)
Luminance0.3397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CD5 #7CD980
analogous
#AF7CD9 #D97CD5 #D97CA7
triadic
#D97CD5 #D5D97C #7CD5D9
tetradic
#D97CD5 #D9AF7C #7CD980 #7CA7D9
square
#D97CD5 #D9AF7C #7CD980 #7CA7D9
split-complementary
#D97CD5 #A7D97C #7CD9AF
monochromatic
#A931A4 #CB4DC6 #D97CD5 #E7ABE4 #F5DBF3

Accessibility & contrast

On white

2.69
#D97CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#D97CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CD5
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CD5#FFFFFF#000000##000000
##D97CD51.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7696D8
Deuteranopia (green-blind)
#8FA2D2
Tritanopia (blue-blind)
#DF849F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d97cd5;
/* rgb */ color: rgb(217, 124, 213);
/* oklch */ color: oklch(71.8% 0.160 328.6);
Tailwind
colors: {
  custom: {
    50: '#e6a4e2',
    500: '#d97cd5',
    950: '#000000',
  },
}
SCSS
$custom: #d97cd5;
$custom-light: #e6a4e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cd5",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 302.581,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71764,
    "c": 0.15999,
    "h": 328.6
  },
  "luminance": 0.33971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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