#D97BCE#D97BCE

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

Color values

HEX#D97BCE
RGBrgb(217, 123, 206)
HSLhsl(307, 55%, 67%)
HSVhsv(307, 43%, 85%)
CMYKcmyk(0%, 43.3%, 5.1%, 14.9%)
CIE-LABlab(64.46, 48.10, -27.35)
CIE-LCHlch(64.46, 55.34, 330.37°)
OKLaboklab(71.32% 0.1366 -0.0742)
OKLCHoklch(71.32% 0.155 331.5)
XYZxyz(46.8384, 33.3764, 62.3557)
Luminance0.3337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97BCE #7BD986
analogous
#B57BD9 #D97BCE #D97B9F
triadic
#D97BCE #CED97B #7BCED9
tetradic
#D97BCE #D9B57B #7BD986 #7B9FD9
square
#D97BCE #D9B57B #7BD986 #7B9FD9
split-complementary
#D97BCE #9FD97B #7BD9B5
monochromatic
#A9319B #CB4BBC #D97BCE #E7ABE0 #F4DAF1

Accessibility & contrast

On white

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

On black

7.67
#D97BCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97BCE
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97BCE#FFFFFF#000000##000000
##D97BCE1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D1
Deuteranopia (green-blind)
#91A1CB
Tritanopia (blue-blind)
#E0819B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97bce;
/* rgb */ color: rgb(217, 123, 206);
/* oklch */ color: oklch(71.3% 0.155 331.5);
Tailwind
colors: {
  custom: {
    50: '#e6a4dd',
    500: '#d97bce',
    950: '#000000',
  },
}
SCSS
$custom: #d97bce;
$custom-light: #e6a4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d97bce",
  "rgb": {
    "r": 217,
    "g": 123,
    "b": 206
  },
  "hsl": {
    "h": 307.021,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71316,
    "c": 0.15543,
    "h": 331.5
  },
  "luminance": 0.33374
}

Semantic roles & 50–950 ramp

primary
#D97BCE
secondary
#C9E7CC
accent
#C33523
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D97BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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