#D97EE6#D97EE6

#D97EE6 is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.8% C 0.173 H 322.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#D97EE6
RGBrgb(217, 126, 230)
HSLhsl(293, 68%, 70%)
HSVhsv(293, 45%, 90%)
CMYKcmyk(5.7%, 45.2%, 0%, 9.8%)
CIE-LABlab(66.05, 50.92, -38.27)
CIE-LCHlch(66.05, 63.70, 323.07°)
OKLaboklab(72.82% 0.137 -0.1053)
OKLCHoklch(72.82% 0.173 322.4)
XYZxyz(50.3575, 35.3887, 79.0257)
Luminance0.3539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EE6 #8BE67E
analogous
#A57EE6 #D97EE6 #E67EBF
triadic
#D97EE6 #E6D97E #7EE6D9
tetradic
#D97EE6 #E6A57E #8BE67E #7EBFE6
square
#D97EE6 #E6A57E #8BE67E #7EBFE6
split-complementary
#D97EE6 #BFE67E #7EE6A5
monochromatic
#B026C4 #CA4BDC #D97EE6 #E8B1F0 #F7E5FA

Accessibility & contrast

On white

2.60
#D97EE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#D97EE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EE6
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EE6#FFFFFF#000000##000000
##D97EE61.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#709AEA
Deuteranopia (green-blind)
#8AA4E3
Tritanopia (blue-blind)
#DC8BA7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d97ee6;
/* rgb */ color: rgb(217, 126, 230);
/* oklch */ color: oklch(72.8% 0.173 322.4);
Tailwind
colors: {
  custom: {
    50: '#e7a6ee',
    500: '#d97ee6',
    950: '#000000',
  },
}
SCSS
$custom: #d97ee6;
$custom-light: #e7a6ee;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ee6",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 230
  },
  "hsl": {
    "h": 292.5,
    "s": 67.532,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72824,
    "c": 0.17282,
    "h": 322.4
  },
  "luminance": 0.35387
}

Semantic roles & 50–950 ramp

primary
#D97EE6
secondary
#D5EFD1
accent
#CF162D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D97EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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