#D985F2#D985F2

#D985F2 is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.4% C 0.173 H 318.1°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#D985F2
RGBrgb(217, 133, 242)
HSLhsl(286, 81%, 74%)
HSVhsv(286, 45%, 95%)
CMYKcmyk(10.3%, 45%, 0%, 5.1%)
CIE-LABlab(67.98, 49.65, -41.87)
CIE-LCHlch(67.98, 64.95, 319.86°)
OKLaboklab(74.43% 0.1292 -0.1158)
OKLCHoklch(74.43% 0.173 318.1)
XYZxyz(53.0276, 37.9393, 88.5169)
Luminance0.3794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D985F2 #9EF285
analogous
#A285F2 #D985F2 #F285D4
triadic
#D985F2 #F2D985 #85F2D9
tetradic
#D985F2 #F2A285 #9EF285 #85D4F2
square
#D985F2 #F2A285 #9EF285 #85D4F2
split-complementary
#D985F2 #D4F285 #85F2A2
monochromatic
#B518E4 #C84EEC #D985F2 #EABCF8 #F6E3FC

Accessibility & contrast

On white

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

On black

8.59
#D985F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D985F2
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D985F2#FFFFFF#000000##000000
##D985F21.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#8AA9EF
Tritanopia (blue-blind)
#D994B0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d985f2;
/* rgb */ color: rgb(217, 133, 242);
/* oklch */ color: oklch(74.4% 0.173 318.1);
Tailwind
colors: {
  custom: {
    50: '#e6aaf6',
    500: '#d985f2',
    950: '#000000',
  },
}
SCSS
$custom: #d985f2;
$custom-light: #e6aaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d985f2",
  "rgb": {
    "r": 217,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 286.239,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74431,
    "c": 0.17349,
    "h": 318.1
  },
  "luminance": 0.37938
}

Semantic roles & 50–950 ramp

primary
#D985F2
secondary
#DEF4D7
accent
#DD0839
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D985F2

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

Preview Lab → · Contrast checker → · Palette generator →

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