#D985F8#D985F8

#D985F8 is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.7% C 0.180 H 316.4°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#D985F8
RGBrgb(217, 133, 248)
HSLhsl(284, 89%, 75%)
HSVhsv(284, 46%, 97%)
CMYKcmyk(12.5%, 46.4%, 0%, 2.7%)
CIE-LABlab(68.25, 50.85, -44.74)
CIE-LCHlch(68.25, 67.73, 318.65°)
OKLaboklab(74.72% 0.1301 -0.124)
OKLCHoklch(74.72% 0.18 316.4)
XYZxyz(53.9436, 38.3057, 93.3409)
Luminance0.3830 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D985F8 #A4F885
analogous
#A085F8 #D985F8 #F885DE
triadic
#D985F8 #F8D985 #85F8D9
tetradic
#D985F8 #F8A085 #A4F885 #85DEF8
square
#D985F8 #F8A085 #A4F885 #85DEF8
split-complementary
#D985F8 #DEF885 #85F8A0
monochromatic
#B511F1 #C74BF5 #D985F8 #EBBFFB #F6E2FD

Accessibility & contrast

On white

2.42
#D985F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#D985F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D985F8
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D985F8#FFFFFF#000000##000000
##D985F81.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FC
Deuteranopia (green-blind)
#87A9F5
Tritanopia (blue-blind)
#D895B3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d985f8;
/* rgb */ color: rgb(217, 133, 248);
/* oklch */ color: oklch(74.7% 0.180 316.4);
Tailwind
colors: {
  custom: {
    50: '#e7abfb',
    500: '#d985f8',
    950: '#000000',
  },
}
SCSS
$custom: #d985f8;
$custom-light: #e7abfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d985f8",
  "rgb": {
    "r": 217,
    "g": 133,
    "b": 248
  },
  "hsl": {
    "h": 283.826,
    "s": 89.147,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7472,
    "c": 0.17977,
    "h": 316.4
  },
  "luminance": 0.38304
}

Semantic roles & 50–950 ramp

primary
#D985F8
secondary
#DEF5D6
accent
#E6003E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D985F8

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

Preview Lab → · Contrast checker → · Palette generator →

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