#D97FDE#D97FDE

#D97FDE is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.6% C 0.163 H 325.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D97FDE
RGBrgb(217, 127, 222)
HSLhsl(297, 59%, 68%)
HSVhsv(297, 43%, 87%)
CMYKcmyk(2.3%, 42.8%, 0%, 12.9%)
CIE-LABlab(65.91, 48.92, -34.05)
CIE-LCHlch(65.91, 59.60, 325.16°)
OKLaboklab(72.61% 0.1341 -0.0933)
OKLCHoklch(72.61% 0.163 325.2)
XYZxyz(49.3883, 35.2066, 73.2871)
Luminance0.3520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FDE #84DE7F
analogous
#A97FDE #D97FDE #DE7FB3
triadic
#D97FDE #DED97F #7FDED9
tetradic
#D97FDE #DEA97F #84DE7F #7FB3DE
square
#D97FDE #DEA97F #84DE7F #7FB3DE
split-complementary
#D97FDE #B3DE7F #7FDEA9
monochromatic
#AD2EB4 #CB4ED1 #D97FDE #E7B0EB #F6E0F7

Accessibility & contrast

On white

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

On black

8.04
#D97FDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FDE
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FDE#FFFFFF#000000##000000
##D97FDE1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E1
Deuteranopia (green-blind)
#8EA4DB
Tritanopia (blue-blind)
#DD89A4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d97fde;
/* rgb */ color: rgb(217, 127, 222);
/* oklch */ color: oklch(72.6% 0.163 325.2);
Tailwind
colors: {
  custom: {
    50: '#e6a6e8',
    500: '#d97fde',
    950: '#000000',
  },
}
SCSS
$custom: #d97fde;
$custom-light: #e6a6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fde",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 296.842,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72608,
    "c": 0.16339,
    "h": 325.2
  },
  "luminance": 0.35204
}

Semantic roles & 50–950 ramp

primary
#D97FDE
secondary
#D0EBCE
accent
#C71F28
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D97FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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