#D97CD4#D97CD4

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

Color values

HEX#D97CD4
RGBrgb(217, 124, 212)
HSLhsl(303, 55%, 67%)
HSVhsv(303, 43%, 85%)
CMYKcmyk(0%, 42.9%, 2.3%, 14.9%)
CIE-LABlab(64.90, 48.64, -30.04)
CIE-LCHlch(64.90, 57.17, 328.30°)
OKLaboklab(71.72% 0.1364 -0.0818)
OKLCHoklch(71.72% 0.159 329)
XYZxyz(47.7059, 33.9229, 66.3095)
Luminance0.3392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CD4 #7CD981
analogous
#B07CD9 #D97CD4 #D97CA6
triadic
#D97CD4 #D4D97C #7CD4D9
tetradic
#D97CD4 #D9B07C #7CD981 #7CA6D9
square
#D97CD4 #D9B07C #7CD981 #7CA6D9
split-complementary
#D97CD4 #A6D97C #7CD9B0
monochromatic
#A931A3 #CB4DC4 #D97CD4 #E7ABE4 #F5DBF3

Accessibility & contrast

On white

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

On black

7.78
#D97CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CD4
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CD4#FFFFFF#000000##000000
##D97CD41.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7796D7
Deuteranopia (green-blind)
#90A2D1
Tritanopia (blue-blind)
#DF849E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97cd4;
/* rgb */ color: rgb(217, 124, 212);
/* oklch */ color: oklch(71.7% 0.159 329.0);
Tailwind
colors: {
  custom: {
    50: '#e6a4e1',
    500: '#d97cd4',
    950: '#000000',
  },
}
SCSS
$custom: #d97cd4;
$custom-light: #e6a4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cd4",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 303.226,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71721,
    "c": 0.15909,
    "h": 329
  },
  "luminance": 0.3392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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