#D97CE5#D97CE5

#D97CE5 is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.5% C 0.175 H 322.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#D97CE5
RGBrgb(217, 124, 229)
HSLhsl(293, 67%, 69%)
HSVhsv(293, 46%, 90%)
CMYKcmyk(5.2%, 45.9%, 0%, 10.2%)
CIE-LABlab(65.61, 51.75, -38.40)
CIE-LCHlch(65.61, 64.44, 323.43°)
OKLaboklab(72.49% 0.1396 -0.1057)
OKLCHoklch(72.49% 0.175 322.9)
XYZxyz(49.9643, 34.8263, 78.2038)
Luminance0.3482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CE5 #88E57C
analogous
#A57CE5 #D97CE5 #E57CBD
triadic
#D97CE5 #E5D97C #7CE5D9
tetradic
#D97CE5 #E5A57C #88E57C #7CBDE5
square
#D97CE5 #E5A57C #88E57C #7CBDE5
split-complementary
#D97CE5 #BDE57C #7CE5A5
monochromatic
#AF26C0 #CA49DB #D97CE5 #E8AFEF #F7E2F9

Accessibility & contrast

On white

2.64
#D97CE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#D97CE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CE5
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CE5#FFFFFF#000000##000000
##D97CE51.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E98E9
Deuteranopia (green-blind)
#89A3E2
Tritanopia (blue-blind)
#DC89A6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d97ce5;
/* rgb */ color: rgb(217, 124, 229);
/* oklch */ color: oklch(72.5% 0.175 322.9);
Tailwind
colors: {
  custom: {
    50: '#e7a4ed',
    500: '#d97ce5',
    950: '#000000',
  },
}
SCSS
$custom: #d97ce5;
$custom-light: #e7a4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ce5",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 229
  },
  "hsl": {
    "h": 293.143,
    "s": 66.879,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72485,
    "c": 0.17512,
    "h": 322.9
  },
  "luminance": 0.34824
}

Semantic roles & 50–950 ramp

primary
#D97CE5
secondary
#D3EECF
accent
#CF172C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D97CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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