#D97AEB#D97AEB

#D97AEB is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.5% C 0.184 H 321.1°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#D97AEB
RGBrgb(217, 122, 235)
HSLhsl(290, 74%, 70%)
HSVhsv(290, 48%, 92%)
CMYKcmyk(7.7%, 48.1%, 0%, 7.8%)
CIE-LABlab(65.49, 53.89, -41.91)
CIE-LCHlch(65.49, 68.27, 322.13°)
OKLaboklab(72.48% 0.1433 -0.1158)
OKLCHoklch(72.48% 0.184 321.1)
XYZxyz(50.5685, 34.6710, 82.6096)
Luminance0.3467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97AEB #8CEB7A
analogous
#A07AEB #D97AEB #EB7AC5
triadic
#D97AEB #EBD97A #7AEBD9
tetradic
#D97AEB #EBA07A #8CEB7A #7AC5EB
square
#D97AEB #EBA07A #8CEB7A #7AC5EB
split-complementary
#D97AEB #C5EB7A #7AEBA0
monochromatic
#B01FCC #CA45E3 #D97AEB #E8AFF3 #F7E4FB

Accessibility & contrast

On white

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

On black

7.93
#D97AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97AEB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97AEB#FFFFFF#000000##000000
##D97AEB1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#85A3E8
Tritanopia (blue-blind)
#DB89A8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d97aeb;
/* rgb */ color: rgb(217, 122, 235);
/* oklch */ color: oklch(72.5% 0.184 321.1);
Tailwind
colors: {
  custom: {
    50: '#e7a3f2',
    500: '#d97aeb',
    950: '#000000',
  },
}
SCSS
$custom: #d97aeb;
$custom-light: #e7a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d97aeb",
  "rgb": {
    "r": 217,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 290.442,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.72482,
    "c": 0.18423,
    "h": 321.1
  },
  "luminance": 0.34669
}

Semantic roles & 50–950 ramp

primary
#D97AEB
secondary
#D6F0D1
accent
#D6102F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D97AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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