#D97AE7#D97AE7

#D97AE7 is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.3% C 0.180 H 322.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#D97AE7
RGBrgb(217, 122, 231)
HSLhsl(292, 69%, 69%)
HSVhsv(292, 47%, 91%)
CMYKcmyk(6.1%, 47.2%, 0%, 9.4%)
CIE-LABlab(65.31, 53.14, -39.98)
CIE-LCHlch(65.31, 66.49, 323.04°)
OKLaboklab(72.29% 0.1427 -0.1102)
OKLCHoklch(72.29% 0.18 322.3)
XYZxyz(49.9971, 34.4424, 79.6003)
Luminance0.3444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97AE7 #88E77A
analogous
#A37AE7 #D97AE7 #E77ABE
triadic
#D97AE7 #E7D97A #7AE7D9
tetradic
#D97AE7 #E7A37A #88E77A #7ABEE7
square
#D97AE7 #E7A37A #88E77A #7ABEE7
split-complementary
#D97AE7 #BEE77A #7AE7A3
monochromatic
#AF23C3 #CA46DE #D97AE7 #E8AEF0 #F7E2FA

Accessibility & contrast

On white

2.66
#D97AE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#D97AE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97AE7
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97AE7#FFFFFF#000000##000000
##D97AE71.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B98EB
Deuteranopia (green-blind)
#86A2E4
Tritanopia (blue-blind)
#DC88A6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d97ae7;
/* rgb */ color: rgb(217, 122, 231);
/* oklch */ color: oklch(72.3% 0.180 322.3);
Tailwind
colors: {
  custom: {
    50: '#e7a3ef',
    500: '#d97ae7',
    950: '#000000',
  },
}
SCSS
$custom: #d97ae7;
$custom-light: #e7a3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ae7",
  "rgb": {
    "r": 217,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 292.294,
    "s": 69.427,
    "l": 69.216
  },
  "oklch": {
    "l": 0.7229,
    "c": 0.18032,
    "h": 322.3
  },
  "luminance": 0.3444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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