#D985EF#D985EF

#D985EF is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.3% C 0.170 H 319.1°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#D985EF
RGBrgb(217, 133, 239)
HSLhsl(288, 77%, 73%)
HSVhsv(288, 44%, 94%)
CMYKcmyk(9.2%, 44.4%, 0%, 6.3%)
CIE-LABlab(67.84, 49.06, -40.43)
CIE-LCHlch(67.84, 63.57, 320.51°)
OKLaboklab(74.29% 0.1287 -0.1116)
OKLCHoklch(74.29% 0.17 319.1)
XYZxyz(52.5807, 37.7605, 86.1634)
Luminance0.3776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D985EF #9BEF85
analogous
#A485EF #D985EF #EF85D0
triadic
#D985EF #EFD985 #85EFD9
tetradic
#D985EF #EFA485 #9BEF85 #85D0EF
square
#D985EF #EFA485 #9BEF85 #85D0EF
split-complementary
#D985EF #D0EF85 #85EFA4
monochromatic
#B51DDD #C84FE8 #D985EF #EABBF6 #F7E4FB

Accessibility & contrast

On white

2.46
#D985EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#D985EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D985EF
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D985EF#FFFFFF#000000##000000
##D985EF1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F3
Deuteranopia (green-blind)
#8BA8EC
Tritanopia (blue-blind)
#DA93AF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d985ef;
/* rgb */ color: rgb(217, 133, 239);
/* oklch */ color: oklch(74.3% 0.170 319.1);
Tailwind
colors: {
  custom: {
    50: '#e6aaf4',
    500: '#d985ef',
    950: '#000000',
  },
}
SCSS
$custom: #d985ef;
$custom-light: #e6aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d985ef",
  "rgb": {
    "r": 217,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 287.547,
    "s": 76.812,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7429,
    "c": 0.17038,
    "h": 319.1
  },
  "luminance": 0.37759
}

Semantic roles & 50–950 ramp

primary
#D985EF
secondary
#DDF3D8
accent
#D90C37
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D985EF

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

Preview Lab → · Contrast checker → · Palette generator →

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