#D97BD3#D97BD3

#D97BD3 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.5% C 0.160 H 329.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#D97BD3
RGBrgb(217, 123, 211)
HSLhsl(304, 55%, 67%)
HSVhsv(304, 43%, 85%)
CMYKcmyk(0%, 43.3%, 2.8%, 14.9%)
CIE-LABlab(64.66, 48.98, -29.85)
CIE-LCHlch(64.66, 57.36, 328.64°)
OKLaboklab(71.53% 0.1377 -0.0813)
OKLCHoklch(71.53% 0.16 329.4)
XYZxyz(47.4555, 33.6233, 65.6057)
Luminance0.3362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97BD3 #7BD981
analogous
#B07BD9 #D97BD3 #D97BA4
triadic
#D97BD3 #D3D97B #7BD3D9
tetradic
#D97BD3 #D9B07B #7BD981 #7BA4D9
square
#D97BD3 #D9B07B #7BD981 #7BA4D9
split-complementary
#D97BD3 #A4D97B #7BD9B0
monochromatic
#A931A1 #CB4BC3 #D97BD3 #E7ABE3 #F4DAF3

Accessibility & contrast

On white

2.72
#D97BD3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#D97BD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97BD3
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97BD3#FFFFFF#000000##000000
##D97BD31.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7695D6
Deuteranopia (green-blind)
#90A1D0
Tritanopia (blue-blind)
#DF839D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97bd3;
/* rgb */ color: rgb(217, 123, 211);
/* oklch */ color: oklch(71.5% 0.160 329.4);
Tailwind
colors: {
  custom: {
    50: '#e6a4e0',
    500: '#d97bd3',
    950: '#000000',
  },
}
SCSS
$custom: #d97bd3;
$custom-light: #e6a4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d97bd3",
  "rgb": {
    "r": 217,
    "g": 123,
    "b": 211
  },
  "hsl": {
    "h": 303.83,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71529,
    "c": 0.15987,
    "h": 329.4
  },
  "luminance": 0.33621
}

Semantic roles & 50–950 ramp

primary
#D97BD3
secondary
#C9E7CB
accent
#C32D23
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D97BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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