#D97BCD#D97BCD

#D97BCD is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.3% C 0.155 H 331.9°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#D97BCD
RGBrgb(217, 123, 205)
HSLhsl(308, 55%, 67%)
HSVhsv(308, 43%, 85%)
CMYKcmyk(0%, 43.3%, 5.5%, 14.9%)
CIE-LABlab(64.43, 47.93, -26.85)
CIE-LCHlch(64.43, 54.94, 330.74°)
OKLaboklab(71.27% 0.1363 -0.0728)
OKLCHoklch(71.27% 0.155 331.9)
XYZxyz(46.7173, 33.3280, 61.7180)
Luminance0.3332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97BCD #7BD987
analogous
#B67BD9 #D97BCD #D97B9E
triadic
#D97BCD #CDD97B #7BCDD9
tetradic
#D97BCD #D9B67B #7BD987 #7B9ED9
square
#D97BCD #D9B67B #7BD987 #7B9ED9
split-complementary
#D97BCD #9ED97B #7BD9B6
monochromatic
#A9319A #CB4BBB #D97BCD #E7ABDF #F4DAF1

Accessibility & contrast

On white

2.74
#D97BCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#D97BCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97BCD
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97BCD#FFFFFF#000000##000000
##D97BCD1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D0
Deuteranopia (green-blind)
#92A1CA
Tritanopia (blue-blind)
#E0819B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97bcd;
/* rgb */ color: rgb(217, 123, 205);
/* oklch */ color: oklch(71.3% 0.155 331.9);
Tailwind
colors: {
  custom: {
    50: '#e6a4dc',
    500: '#d97bcd',
    950: '#000000',
  },
}
SCSS
$custom: #d97bcd;
$custom-light: #e6a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d97bcd",
  "rgb": {
    "r": 217,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 307.66,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71274,
    "c": 0.15457,
    "h": 331.9
  },
  "luminance": 0.33325
}

Semantic roles & 50–950 ramp

primary
#D97BCD
secondary
#C9E7CD
accent
#C33723
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D97BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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