#D97FE0#D97FE0

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

Color values

HEX#D97FE0
RGBrgb(217, 127, 224)
HSLhsl(296, 61%, 69%)
HSVhsv(296, 43%, 88%)
CMYKcmyk(3.1%, 43.3%, 0%, 12.2%)
CIE-LABlab(65.99, 49.29, -35.03)
CIE-LCHlch(65.99, 60.47, 324.60°)
OKLaboklab(72.7% 0.1345 -0.0961)
OKLCHoklch(72.7% 0.165 324.5)
XYZxyz(49.6579, 35.3145, 74.7072)
Luminance0.3531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FE0 #86E07F
analogous
#A97FE0 #D97FE0 #E07FB7
triadic
#D97FE0 #E0D97F #7FE0D9
tetradic
#D97FE0 #E0A97F #86E07F #7FB7E0
square
#D97FE0 #E0A97F #86E07F #7FB7E0
split-complementary
#D97FE0 #B7E07F #7FE0A9
monochromatic
#AE2DB8 #CA4ED4 #D97FE0 #E8B0EC #F6E2F8

Accessibility & contrast

On white

2.60
#D97FE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#D97FE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FE0
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FE0#FFFFFF#000000##000000
##D97FE01.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E3
Deuteranopia (green-blind)
#8DA4DD
Tritanopia (blue-blind)
#DD8AA5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d97fe0;
/* rgb */ color: rgb(217, 127, 224);
/* oklch */ color: oklch(72.7% 0.165 324.5);
Tailwind
colors: {
  custom: {
    50: '#e6a6ea',
    500: '#d97fe0',
    950: '#000000',
  },
}
SCSS
$custom: #d97fe0;
$custom-light: #e6a6ea;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fe0",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 224
  },
  "hsl": {
    "h": 295.67,
    "s": 61.006,
    "l": 68.824
  },
  "oklch": {
    "l": 0.72697,
    "c": 0.16531,
    "h": 324.5
  },
  "luminance": 0.35312
}

Semantic roles & 50–950 ramp

primary
#D97FE0
secondary
#D1ECCF
accent
#C91D29
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D97FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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