#D97BDF#D97BDF

#D97BDF is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.1% C 0.171 H 325.0°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#D97BDF
RGBrgb(217, 123, 223)
HSLhsl(296, 61%, 68%)
HSVhsv(296, 45%, 87%)
CMYKcmyk(2.7%, 44.8%, 0%, 12.5%)
CIE-LABlab(65.16, 51.14, -35.77)
CIE-LCHlch(65.16, 62.41, 325.03°)
OKLaboklab(72.06% 0.14 -0.0982)
OKLCHoklch(72.06% 0.171 325)
XYZxyz(49.0163, 34.2476, 73.8263)
Luminance0.3424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97BDF #81DF7B
analogous
#A77BDF #D97BDF #DF7BB3
triadic
#D97BDF #DFD97B #7BDFD9
tetradic
#D97BDF #DFA77B #81DF7B #7BB3DF
square
#D97BDF #DFA77B #81DF7B #7BB3DF
split-complementary
#D97BDF #B3DF7B #7BDFA7
monochromatic
#AC2CB4 #CB4AD3 #D97BDF #E7ACEB #F5DEF7

Accessibility & contrast

On white

2.68
#D97BDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#D97BDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97BDF
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97BDF#FFFFFF#000000##000000
##D97BDF1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E2
Deuteranopia (green-blind)
#8BA2DC
Tritanopia (blue-blind)
#DD86A3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d97bdf;
/* rgb */ color: rgb(217, 123, 223);
/* oklch */ color: oklch(72.1% 0.171 325.0);
Tailwind
colors: {
  custom: {
    50: '#e7a4e9',
    500: '#d97bdf',
    950: '#000000',
  },
}
SCSS
$custom: #d97bdf;
$custom-light: #e7a4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d97bdf",
  "rgb": {
    "r": 217,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 296.4,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72062,
    "c": 0.17099,
    "h": 325
  },
  "luminance": 0.34245
}

Semantic roles & 50–950 ramp

primary
#D97BDF
secondary
#CDEACB
accent
#C91D27
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D97BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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