#D97CD2#D97CD2

#D97CD2 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.6% C 0.157 H 329.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#D97CD2
RGBrgb(217, 124, 210)
HSLhsl(305, 55%, 67%)
HSVhsv(305, 43%, 85%)
CMYKcmyk(0%, 42.9%, 3.2%, 14.9%)
CIE-LABlab(64.82, 48.29, -29.05)
CIE-LCHlch(64.82, 56.35, 328.97°)
OKLaboklab(71.64% 0.136 -0.079)
OKLCHoklch(71.64% 0.157 329.8)
XYZxyz(47.4552, 33.8226, 64.9891)
Luminance0.3382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CD2 #7CD983
analogous
#B27CD9 #D97CD2 #D97CA4
triadic
#D97CD2 #D2D97C #7CD2D9
tetradic
#D97CD2 #D9B27C #7CD983 #7CA4D9
square
#D97CD2 #D9B27C #7CD983 #7CA4D9
split-complementary
#D97CD2 #A4D97C #7CD9B2
monochromatic
#A931A0 #CB4DC2 #D97CD2 #E7ABE2 #F5DBF3

Accessibility & contrast

On white

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

On black

7.76
#D97CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CD2
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CD2#FFFFFF#000000##000000
##D97CD21.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7795D5
Deuteranopia (green-blind)
#91A2CF
Tritanopia (blue-blind)
#DF839D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97cd2;
/* rgb */ color: rgb(217, 124, 210);
/* oklch */ color: oklch(71.6% 0.157 329.8);
Tailwind
colors: {
  custom: {
    50: '#e6a4e0',
    500: '#d97cd2',
    950: '#000000',
  },
}
SCSS
$custom: #d97cd2;
$custom-light: #e6a4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cd2",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 304.516,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71635,
    "c": 0.15728,
    "h": 329.8
  },
  "luminance": 0.3382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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