#D997D2#D997D2

#D997D2 is a light, moderate purple. Relative luminance 0.415; OKLCH L 76.0% C 0.110 H 330.3°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#D997D2
RGBrgb(217, 151, 210)
HSLhsl(306, 46%, 72%)
HSVhsv(306, 30%, 85%)
CMYKcmyk(0%, 30.4%, 3.2%, 14.9%)
CIE-LABlab(70.55, 34.06, -20.27)
CIE-LCHlch(70.55, 39.63, 329.25°)
OKLaboklab(75.96% 0.0958 -0.0546)
OKLCHoklch(75.96% 0.11 330.3)
XYZxyz(51.3139, 41.5400, 66.2753)
Luminance0.4154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D997D2 #97D99E
analogous
#BF97D9 #D997D2 #D997B1
triadic
#D997D2 #D2D997 #97D2D9
tetradic
#D997D2 #D9BF97 #97D99E #97B1D9
square
#D997D2 #D9BF97 #97D99E #97B1D9
split-complementary
#D997D2 #B1D997 #97D9BF
monochromatic
#B442A8 #C96ABF #D997D2 #E9C4E5 #F7E9F5

Accessibility & contrast

On white

2.26
#D997D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#D997D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D997D2
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D997D2#FFFFFF#000000##000000
##D997D21.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A7D4
Deuteranopia (green-blind)
#A5B0D0
Tritanopia (blue-blind)
#DE9BAC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d997d2;
/* rgb */ color: rgb(217, 151, 210);
/* oklch */ color: oklch(76.0% 0.110 330.3);
Tailwind
colors: {
  custom: {
    50: '#e5b6e0',
    500: '#d997d2',
    950: '#000000',
  },
}
SCSS
$custom: #d997d2;
$custom-light: #e5b6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d997d2",
  "rgb": {
    "r": 217,
    "g": 151,
    "b": 210
  },
  "hsl": {
    "h": 306.364,
    "s": 46.479,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75959,
    "c": 0.11025,
    "h": 330.3
  },
  "luminance": 0.41538
}

Semantic roles & 50–950 ramp

primary
#D997D2
secondary
#DDEEDF
accent
#BA3B2C
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D997D2

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

Preview Lab → · Contrast checker → · Palette generator →

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