#D97AE2#D97AE2

#D97AE2 is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.1% C 0.175 H 324.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#D97AE2
RGBrgb(217, 122, 226)
HSLhsl(295, 64%, 68%)
HSVhsv(295, 46%, 89%)
CMYKcmyk(4%, 46%, 0%, 11.4%)
CIE-LABlab(65.09, 52.20, -37.55)
CIE-LCHlch(65.09, 64.30, 324.27°)
OKLaboklab(72.06% 0.1419 -0.1032)
OKLCHoklch(72.06% 0.175 324)
XYZxyz(49.3010, 34.1640, 75.9342)
Luminance0.3416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97AE2 #83E27A
analogous
#A57AE2 #D97AE2 #E27AB7
triadic
#D97AE2 #E2D97A #7AE2D9
tetradic
#D97AE2 #E2A57A #83E27A #7AB7E2
square
#D97AE2 #E2A57A #83E27A #7AB7E2
split-complementary
#D97AE2 #B7E27A #7AE2A5
monochromatic
#AD28B9 #CB48D7 #D97AE2 #E7ACED #F6DEF8

Accessibility & contrast

On white

2.68
#D97AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#D97AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97AE2
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97AE2#FFFFFF#000000##000000
##D97AE21.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E6
Deuteranopia (green-blind)
#89A2DF
Tritanopia (blue-blind)
#DD86A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d97ae2;
/* rgb */ color: rgb(217, 122, 226);
/* oklch */ color: oklch(72.1% 0.175 324.0);
Tailwind
colors: {
  custom: {
    50: '#e7a3eb',
    500: '#d97ae2',
    950: '#000000',
  },
}
SCSS
$custom: #d97ae2;
$custom-light: #e7a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ae2",
  "rgb": {
    "r": 217,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 294.808,
    "s": 64.198,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72055,
    "c": 0.17549,
    "h": 324
  },
  "luminance": 0.34162
}

Semantic roles & 50–950 ramp

primary
#D97AE2
secondary
#CFECCC
accent
#CC1929
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D97AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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