#D97AE9#D97AE9

#D97AE9 is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.4% C 0.182 H 321.7°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#D97AE9
RGBrgb(217, 122, 233)
HSLhsl(291, 72%, 70%)
HSVhsv(291, 48%, 91%)
CMYKcmyk(6.9%, 47.6%, 0%, 8.6%)
CIE-LABlab(65.40, 53.51, -40.94)
CIE-LCHlch(65.40, 67.38, 322.58°)
OKLaboklab(72.39% 0.143 -0.113)
OKLCHoklch(72.39% 0.182 321.7)
XYZxyz(50.2811, 34.5561, 81.0964)
Luminance0.3455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97AE9 #8AE97A
analogous
#A17AE9 #D97AE9 #E97AC2
triadic
#D97AE9 #E9D97A #7AE9D9
tetradic
#D97AE9 #E9A17A #8AE97A #7AC2E9
square
#D97AE9 #E9A17A #8AE97A #7AC2E9
split-complementary
#D97AE9 #C2E97A #7AE9A1
monochromatic
#B021C8 #CA45E0 #D97AE9 #E8AFF2 #F7E3FA

Accessibility & contrast

On white

2.65
#D97AE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#D97AE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97AE9
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97AE9#FFFFFF#000000##000000
##D97AE91.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98ED
Deuteranopia (green-blind)
#86A3E6
Tritanopia (blue-blind)
#DB88A7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d97ae9;
/* rgb */ color: rgb(217, 122, 233);
/* oklch */ color: oklch(72.4% 0.182 321.7);
Tailwind
colors: {
  custom: {
    50: '#e7a3f0',
    500: '#d97ae9',
    950: '#000000',
  },
}
SCSS
$custom: #d97ae9;
$custom-light: #e7a3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ae9",
  "rgb": {
    "r": 217,
    "g": 122,
    "b": 233
  },
  "hsl": {
    "h": 291.351,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72385,
    "c": 0.18226,
    "h": 321.7
  },
  "luminance": 0.34554
}

Semantic roles & 50–950 ramp

primary
#D97AE9
secondary
#D4EFD0
accent
#D4122E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D97AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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