#D985F4#D985F4

#D985F4 is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.5% C 0.176 H 317.5°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#D985F4
RGBrgb(217, 133, 244)
HSLhsl(285, 83%, 74%)
HSVhsv(285, 45%, 96%)
CMYKcmyk(11.1%, 45.5%, 0%, 4.3%)
CIE-LABlab(68.06, 50.05, -42.83)
CIE-LCHlch(68.06, 65.87, 319.44°)
OKLaboklab(74.53% 0.1295 -0.1185)
OKLCHoklch(74.53% 0.176 317.5)
XYZxyz(53.3296, 38.0601, 90.1075)
Luminance0.3806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D985F4 #A0F485
analogous
#A285F4 #D985F4 #F485D8
triadic
#D985F4 #F4D985 #85F4D9
tetradic
#D985F4 #F4A285 #A0F485 #85D8F4
square
#D985F4 #F4A285 #A0F485 #85D8F4
split-complementary
#D985F4 #D8F485 #85F4A2
monochromatic
#B615EA #C84DEF #D985F4 #EABDF9 #F6E3FC

Accessibility & contrast

On white

2.44
#D985F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#D985F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D985F4
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D985F4#FFFFFF#000000##000000
##D985F41.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F8
Deuteranopia (green-blind)
#89A9F1
Tritanopia (blue-blind)
#D994B1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d985f4;
/* rgb */ color: rgb(217, 133, 244);
/* oklch */ color: oklch(74.5% 0.176 317.5);
Tailwind
colors: {
  custom: {
    50: '#e7aaf8',
    500: '#d985f4',
    950: '#000000',
  },
}
SCSS
$custom: #d985f4;
$custom-light: #e7aaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#d985f4",
  "rgb": {
    "r": 217,
    "g": 133,
    "b": 244
  },
  "hsl": {
    "h": 285.405,
    "s": 83.459,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74527,
    "c": 0.17557,
    "h": 317.5
  },
  "luminance": 0.38058
}

Semantic roles & 50–950 ramp

primary
#D985F4
secondary
#DEF4D7
accent
#E0063B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D985F4

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

Preview Lab → · Contrast checker → · Palette generator →

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