#D97FDA#D97FDA

#D97FDA is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.4% C 0.160 H 326.7°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#D97FDA
RGBrgb(217, 127, 218)
HSLhsl(299, 55%, 68%)
HSVhsv(299, 42%, 85%)
CMYKcmyk(0.5%, 41.7%, 0%, 14.5%)
CIE-LABlab(65.74, 48.19, -32.08)
CIE-LCHlch(65.74, 57.89, 326.34°)
OKLaboklab(72.43% 0.1334 -0.0877)
OKLCHoklch(72.43% 0.16 326.7)
XYZxyz(48.8586, 34.9947, 70.4971)
Luminance0.3499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FDA #80DA7F
analogous
#AC7FDA #D97FDA #DA7FAD
triadic
#D97FDA #DAD97F #7FDAD9
tetradic
#D97FDA #DAAC7F #80DA7F #7FADDA
square
#D97FDA #DAAC7F #80DA7F #7FADDA
split-complementary
#D97FDA #ADDA7F #7FDAAC
monochromatic
#AB32AD #CB50CC #D97FDA #E7AEE8 #F5DEF5

Accessibility & contrast

On white

2.63
#D97FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#D97FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FDA
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FDA#FFFFFF#000000##000000
##D97FDA1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7798DD
Deuteranopia (green-blind)
#90A4D7
Tritanopia (blue-blind)
#DE88A2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d97fda;
/* rgb */ color: rgb(217, 127, 218);
/* oklch */ color: oklch(72.4% 0.160 326.7);
Tailwind
colors: {
  custom: {
    50: '#e6a6e5',
    500: '#d97fda',
    950: '#000000',
  },
}
SCSS
$custom: #d97fda;
$custom-light: #e6a6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fda",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 299.341,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.7243,
    "c": 0.15959,
    "h": 326.7
  },
  "luminance": 0.34992
}

Semantic roles & 50–950 ramp

primary
#D97FDA
secondary
#CDE9CC
accent
#C32325
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D97FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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