#D97CDB#D97CDB

#D97CDB is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.0% C 0.166 H 326.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#D97CDB
RGBrgb(217, 124, 219)
HSLhsl(299, 57%, 67%)
HSVhsv(299, 43%, 86%)
CMYKcmyk(0.9%, 43.4%, 0%, 14.1%)
CIE-LABlab(65.19, 49.90, -33.50)
CIE-LCHlch(65.19, 60.11, 326.12°)
OKLaboklab(72.03% 0.1378 -0.0917)
OKLCHoklch(72.03% 0.166 326.4)
XYZxyz(48.6081, 34.2838, 71.0612)
Luminance0.3428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CDB #7EDB7C
analogous
#AA7CDB #D97CDB #DB7CAD
triadic
#D97CDB #DBD97C #7CDBD9
tetradic
#D97CDB #DBAA7C #7EDB7C #7CADDB
square
#D97CDB #DBAA7C #7EDB7C #7CADDB
split-complementary
#D97CDB #ADDB7C #7CDBAA
monochromatic
#AA30AD #CB4CCE #D97CDB #E7ACE8 #F5DCF5

Accessibility & contrast

On white

2.67
#D97CDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#D97CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CDB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CDB#FFFFFF#000000##000000
##D97CDB1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DE
Deuteranopia (green-blind)
#8DA2D8
Tritanopia (blue-blind)
#DE86A1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d97cdb;
/* rgb */ color: rgb(217, 124, 219);
/* oklch */ color: oklch(72.0% 0.166 326.4);
Tailwind
colors: {
  custom: {
    50: '#e6a4e6',
    500: '#d97cdb',
    950: '#000000',
  },
}
SCSS
$custom: #d97cdb;
$custom-light: #e6a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cdb",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 298.737,
    "s": 56.886,
    "l": 67.255
  },
  "oklch": {
    "l": 0.72028,
    "c": 0.16556,
    "h": 326.4
  },
  "luminance": 0.34281
}

Semantic roles & 50–950 ramp

primary
#D97CDB
secondary
#CBE8CA
accent
#C42124
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D97CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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