#D97FCE#D97FCE

#D97FCE is a light, vivid purple. Relative luminance 0.344; OKLCH L 71.9% C 0.149 H 331.6°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#D97FCE
RGBrgb(217, 127, 206)
HSLhsl(307, 54%, 67%)
HSVhsv(307, 41%, 85%)
CMYKcmyk(0%, 41.5%, 5.1%, 14.9%)
CIE-LABlab(65.27, 46.05, -26.12)
CIE-LCHlch(65.27, 52.94, 330.44°)
OKLaboklab(71.92% 0.1307 -0.0708)
OKLCHoklch(71.92% 0.149 331.6)
XYZxyz(47.3448, 34.3892, 62.5245)
Luminance0.3439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FCE #7FD98A
analogous
#B77FD9 #D97FCE #D97FA1
triadic
#D97FCE #CED97F #7FCED9
tetradic
#D97FCE #D9B77F #7FD98A #7FA1D9
square
#D97FCE #D9B77F #7FD98A #7FA1D9
split-complementary
#D97FCE #A1D97F #7FD9B7
monochromatic
#AB339C #CB50BC #D97FCE #E7AEE0 #F5DDF2

Accessibility & contrast

On white

2.67
#D97FCE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#D97FCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FCE
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FCE#FFFFFF#000000##000000
##D97FCE1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C97D1
Deuteranopia (green-blind)
#94A3CB
Tritanopia (blue-blind)
#E0859D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d97fce;
/* rgb */ color: rgb(217, 127, 206);
/* oklch */ color: oklch(71.9% 0.149 331.6);
Tailwind
colors: {
  custom: {
    50: '#e6a6dd',
    500: '#d97fce',
    950: '#000000',
  },
}
SCSS
$custom: #d97fce;
$custom-light: #e6a6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fce",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 307.333,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71919,
    "c": 0.14863,
    "h": 331.6
  },
  "luminance": 0.34387
}

Semantic roles & 50–950 ramp

primary
#D97FCE
secondary
#CCE8CF
accent
#C23724
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D97FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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