#D97FC4#D97FC4

#D97FC4 is a light, vivid pink. Relative luminance 0.339; OKLCH L 71.5% C 0.140 H 336.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#D97FC4
RGBrgb(217, 127, 196)
HSLhsl(314, 54%, 67%)
HSVhsv(314, 41%, 85%)
CMYKcmyk(0%, 41.5%, 9.7%, 14.9%)
CIE-LABlab(64.90, 44.34, -21.07)
CIE-LCHlch(64.90, 49.10, 334.58°)
OKLaboklab(71.52% 0.1282 -0.0566)
OKLCHoklch(71.52% 0.14 336.2)
XYZxyz(46.1684, 33.9186, 56.3290)
Luminance0.3392 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FC4 #7FD994
analogous
#C17FD9 #D97FC4 #D97F97
triadic
#D97FC4 #C4D97F #7FC4D9
tetradic
#D97FC4 #D9C17F #7FD994 #7F97D9
square
#D97FC4 #D9C17F #7FD994 #7F97D9
split-complementary
#D97FC4 #97D97F #7FD9C1
monochromatic
#AB338F #CB50AE #D97FC4 #E7AEDA #F5DDF0

Accessibility & contrast

On white

2.70
#D97FC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#D97FC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FC4
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FC4#FFFFFF#000000##000000
##D97FC41.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8095C6
Deuteranopia (green-blind)
#97A2C1
Tritanopia (blue-blind)
#E18299
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97fc4;
/* rgb */ color: rgb(217, 127, 196);
/* oklch */ color: oklch(71.5% 0.140 336.2);
Tailwind
colors: {
  custom: {
    50: '#e6a6d6',
    500: '#d97fc4',
    950: '#000000',
  },
}
SCSS
$custom: #d97fc4;
$custom-light: #e6a6d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fc4",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 314,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71517,
    "c": 0.14015,
    "h": 336.2
  },
  "luminance": 0.33916
}

Semantic roles & 50–950 ramp

primary
#D97FC4
secondary
#CCE8D2
accent
#C24924
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D97FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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