#D97CE9#D97CE9

#D97CE9 is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.7% C 0.179 H 321.6°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#D97CE9
RGBrgb(217, 124, 233)
HSLhsl(291, 71%, 70%)
HSVhsv(291, 47%, 91%)
CMYKcmyk(6.9%, 46.8%, 0%, 8.6%)
CIE-LABlab(65.79, 52.51, -40.34)
CIE-LCHlch(65.79, 66.21, 322.47°)
OKLaboklab(72.67% 0.1403 -0.1113)
OKLCHoklch(72.67% 0.179 321.6)
XYZxyz(50.5292, 35.0523, 81.1791)
Luminance0.3505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CE9 #8CE97C
analogous
#A37CE9 #D97CE9 #E97CC2
triadic
#D97CE9 #E9D97C #7CE9D9
tetradic
#D97CE9 #E9A37C #8CE97C #7CC2E9
square
#D97CE9 #E9A37C #8CE97C #7CC2E9
split-complementary
#D97CE9 #C2E97C #7CE9A3
monochromatic
#B022C9 #CA48E0 #D97CE9 #E8B0F2 #F7E5FB

Accessibility & contrast

On white

2.62
#D97CE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#D97CE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CE9
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CE9#FFFFFF#000000##000000
##D97CE91.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99ED
Deuteranopia (green-blind)
#87A3E6
Tritanopia (blue-blind)
#DB8AA8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d97ce9;
/* rgb */ color: rgb(217, 124, 233);
/* oklch */ color: oklch(72.7% 0.179 321.6);
Tailwind
colors: {
  custom: {
    50: '#e7a5f0',
    500: '#d97ce9',
    950: '#000000',
  },
}
SCSS
$custom: #d97ce9;
$custom-light: #e7a5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ce9",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 233
  },
  "hsl": {
    "h": 291.193,
    "s": 71.242,
    "l": 70
  },
  "oklch": {
    "l": 0.72673,
    "c": 0.17904,
    "h": 321.6
  },
  "luminance": 0.3505
}

Semantic roles & 50–950 ramp

primary
#D97CE9
secondary
#D6F0D1
accent
#D3122F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D97CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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