#D985EA#D985EA

#D985EA is a light, vivid purple. Relative luminance 0.375; OKLCH L 74.1% C 0.165 H 320.7°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#D985EA
RGBrgb(217, 133, 234)
HSLhsl(290, 71%, 72%)
HSVhsv(290, 43%, 92%)
CMYKcmyk(7.3%, 43.2%, 0%, 8.2%)
CIE-LABlab(67.63, 48.09, -38.02)
CIE-LCHlch(67.63, 61.30, 321.67°)
OKLaboklab(74.06% 0.1279 -0.1047)
OKLCHoklch(74.06% 0.165 320.7)
XYZxyz(51.8523, 37.4692, 82.3268)
Luminance0.3747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D985EA #96EA85
analogous
#A785EA #D985EA #EA85C9
triadic
#D985EA #EAD985 #85EAD9
tetradic
#D985EA #EAA785 #96EA85 #85C9EA
square
#D985EA #EAA785 #96EA85 #85C9EA
split-complementary
#D985EA #C9EA85 #85EAA7
monochromatic
#B424D1 #C951E1 #D985EA #E9B9F3 #F7E5FB

Accessibility & contrast

On white

2.47
#D985EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#D985EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D985EA
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D985EA#FFFFFF#000000##000000
##D985EA1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEE
Deuteranopia (green-blind)
#8EA8E7
Tritanopia (blue-blind)
#DB92AD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d985ea;
/* rgb */ color: rgb(217, 133, 234);
/* oklch */ color: oklch(74.1% 0.165 320.7);
Tailwind
colors: {
  custom: {
    50: '#e6aaf1',
    500: '#d985ea',
    950: '#000000',
  },
}
SCSS
$custom: #d985ea;
$custom-light: #e6aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d985ea",
  "rgb": {
    "r": 217,
    "g": 133,
    "b": 234
  },
  "hsl": {
    "h": 289.901,
    "s": 70.629,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74057,
    "c": 0.16525,
    "h": 320.7
  },
  "luminance": 0.37467
}

Semantic roles & 50–950 ramp

primary
#D985EA
secondary
#DDF2D9
accent
#D31333
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D985EA

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

Preview Lab → · Contrast checker → · Palette generator →

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