#D985F0#D985F0

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

Color values

HEX#D985F0
RGBrgb(217, 133, 240)
HSLhsl(287, 78%, 73%)
HSVhsv(287, 45%, 94%)
CMYKcmyk(9.6%, 44.6%, 0%, 5.9%)
CIE-LABlab(67.89, 49.26, -40.91)
CIE-LCHlch(67.89, 64.03, 320.29°)
OKLaboklab(74.34% 0.1289 -0.113)
OKLCHoklch(74.34% 0.171 318.8)
XYZxyz(52.7289, 37.8198, 86.9436)
Luminance0.3782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D985F0 #9CF085
analogous
#A385F0 #D985F0 #F085D1
triadic
#D985F0 #F0D985 #85F0D9
tetradic
#D985F0 #F0A385 #9CF085 #85D1F0
square
#D985F0 #F0A385 #9CF085 #85D1F0
split-complementary
#D985F0 #D1F085 #85F0A3
monochromatic
#B51BDF #C84EE9 #D985F0 #EABBF7 #F7E4FC

Accessibility & contrast

On white

2.45
#D985F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#D985F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D985F0
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D985F0#FFFFFF#000000##000000
##D985F01.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F4
Deuteranopia (green-blind)
#8BA8ED
Tritanopia (blue-blind)
#D993AF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d985f0;
/* rgb */ color: rgb(217, 133, 240);
/* oklch */ color: oklch(74.3% 0.171 318.8);
Tailwind
colors: {
  custom: {
    50: '#e6aaf5',
    500: '#d985f0',
    950: '#000000',
  },
}
SCSS
$custom: #d985f0;
$custom-light: #e6aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#d985f0",
  "rgb": {
    "r": 217,
    "g": 133,
    "b": 240
  },
  "hsl": {
    "h": 287.103,
    "s": 78.102,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74337,
    "c": 0.17142,
    "h": 318.8
  },
  "luminance": 0.37818
}

Semantic roles & 50–950 ramp

primary
#D985F0
secondary
#DEF3D8
accent
#DA0B38
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D985F0

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

Preview Lab → · Contrast checker → · Palette generator →

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