#D997CF#D997CF

#D997CF is a light, moderate purple. Relative luminance 0.414; OKLCH L 75.8% C 0.107 H 332.0°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#D997CF
RGBrgb(217, 151, 207)
HSLhsl(309, 46%, 72%)
HSVhsv(309, 30%, 85%)
CMYKcmyk(0%, 30.4%, 4.6%, 14.9%)
CIE-LABlab(70.45, 33.52, -18.77)
CIE-LCHlch(70.45, 38.42, 330.76°)
OKLaboklab(75.85% 0.0949 -0.0504)
OKLCHoklch(75.85% 0.107 332)
XYZxyz(50.9436, 41.3919, 64.3254)
Luminance0.4139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D997CF #97D9A1
analogous
#C297D9 #D997CF #D997AE
triadic
#D997CF #CFD997 #97CFD9
tetradic
#D997CF #D9C297 #97D9A1 #97AED9
square
#D997CF #D9C297 #97D9A1 #97AED9
split-complementary
#D997CF #AED997 #97D9C2
monochromatic
#B442A3 #C96ABA #D997CF #E9C4E4 #F7E9F5

Accessibility & contrast

On white

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

On black

9.28
#D997CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D997CF
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D997CF#FFFFFF#000000##000000
##D997CF1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A7D1
Deuteranopia (green-blind)
#A6B0CD
Tritanopia (blue-blind)
#DF9BAB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d997cf;
/* rgb */ color: rgb(217, 151, 207);
/* oklch */ color: oklch(75.8% 0.107 332.0);
Tailwind
colors: {
  custom: {
    50: '#e5b6dd',
    500: '#d997cf',
    950: '#000000',
  },
}
SCSS
$custom: #d997cf;
$custom-light: #e5b6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d997cf",
  "rgb": {
    "r": 217,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 309.091,
    "s": 46.479,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75847,
    "c": 0.10746,
    "h": 332
  },
  "luminance": 0.4139
}

Semantic roles & 50–950 ramp

primary
#D997CF
secondary
#DDEEE0
accent
#BA412C
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D997CF

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

Preview Lab → · Contrast checker → · Palette generator →

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