#D97FD4#D97FD4

#D97FD4 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.2% C 0.154 H 329.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#D97FD4
RGBrgb(217, 127, 212)
HSLhsl(303, 54%, 67%)
HSVhsv(303, 41%, 85%)
CMYKcmyk(0%, 41.5%, 2.3%, 14.9%)
CIE-LABlab(65.50, 47.11, -29.11)
CIE-LCHlch(65.50, 55.37, 328.28°)
OKLaboklab(72.17% 0.1321 -0.0792)
OKLCHoklch(72.17% 0.154 329)
XYZxyz(48.0876, 34.6863, 66.4368)
Luminance0.3468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FD4 #7FD984
analogous
#B17FD9 #D97FD4 #D97FA7
triadic
#D97FD4 #D4D97F #7FD4D9
tetradic
#D97FD4 #D9B17F #7FD984 #7FA7D9
square
#D97FD4 #D9B17F #7FD984 #7FA7D9
split-complementary
#D97FD4 #A7D97F #7FD9B1
monochromatic
#AB33A4 #CB50C4 #D97FD4 #E7AEE4 #F5DDF4

Accessibility & contrast

On white

2.65
#D97FD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#D97FD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FD4
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FD4#FFFFFF#000000##000000
##D97FD41.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A97D7
Deuteranopia (green-blind)
#92A3D1
Tritanopia (blue-blind)
#DF86A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d97fd4;
/* rgb */ color: rgb(217, 127, 212);
/* oklch */ color: oklch(72.2% 0.154 329.0);
Tailwind
colors: {
  custom: {
    50: '#e6a6e1',
    500: '#d97fd4',
    950: '#000000',
  },
}
SCSS
$custom: #d97fd4;
$custom-light: #e6a6e1;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fd4",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 212
  },
  "hsl": {
    "h": 303.333,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72171,
    "c": 0.15401,
    "h": 329
  },
  "luminance": 0.34684
}

Semantic roles & 50–950 ramp

primary
#D97FD4
secondary
#CCE8CD
accent
#C22D24
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D97FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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