#D97FDF#D97FDF

#D97FDF is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.7% C 0.164 H 324.8°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#D97FDF
RGBrgb(217, 127, 223)
HSLhsl(296, 60%, 69%)
HSVhsv(296, 43%, 87%)
CMYKcmyk(2.7%, 43%, 0%, 12.5%)
CIE-LABlab(65.95, 49.10, -34.54)
CIE-LCHlch(65.95, 60.04, 324.87°)
OKLaboklab(72.65% 0.1343 -0.0947)
OKLCHoklch(72.65% 0.164 324.8)
XYZxyz(49.5227, 35.2604, 73.9951)
Luminance0.3526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FDF #85DF7F
analogous
#A97FDF #D97FDF #DF7FB5
triadic
#D97FDF #DFD97F #7FDFD9
tetradic
#D97FDF #DFA97F #85DF7F #7FB5DF
square
#D97FDF #DFA97F #85DF7F #7FB5DF
split-complementary
#D97FDF #B5DF7F #7FDFA9
monochromatic
#AE2EB6 #CA4ED3 #D97FDF #E8B0EB #F6E1F7

Accessibility & contrast

On white

2.61
#D97FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#D97FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FDF
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FDF#FFFFFF#000000##000000
##D97FDF1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E2
Deuteranopia (green-blind)
#8EA4DC
Tritanopia (blue-blind)
#DD89A5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d97fdf;
/* rgb */ color: rgb(217, 127, 223);
/* oklch */ color: oklch(72.7% 0.164 324.8);
Tailwind
colors: {
  custom: {
    50: '#e6a6e9',
    500: '#d97fdf',
    950: '#000000',
  },
}
SCSS
$custom: #d97fdf;
$custom-light: #e6a6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fdf",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 296.25,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72652,
    "c": 0.16434,
    "h": 324.8
  },
  "luminance": 0.35258
}

Semantic roles & 50–950 ramp

primary
#D97FDF
secondary
#D0EBCF
accent
#C81E28
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D97FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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