#D985FC#D985FC

#D985FC is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.9% C 0.184 H 315.3°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#D985FC
RGBrgb(217, 133, 252)
HSLhsl(282, 95%, 75%)
HSVhsv(282, 47%, 99%)
CMYKcmyk(13.9%, 47.2%, 0%, 1.2%)
CIE-LABlab(68.43, 51.65, -46.64)
CIE-LCHlch(68.43, 69.59, 317.92°)
OKLaboklab(74.92% 0.1307 -0.1295)
OKLCHoklch(74.92% 0.184 315.3)
XYZxyz(54.5708, 38.5565, 96.6441)
Luminance0.3856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D985FC #A8FC85
analogous
#9D85FC #D985FC #FC85E3
triadic
#D985FC #FCD985 #85FCD9
tetradic
#D985FC #FC9D85 #A8FC85 #85E3FC
square
#D985FC #FC9D85 #A8FC85 #85E3FC
split-complementary
#D985FC #E3FC85 #85FC9D
monochromatic
#B40EF9 #C649FB #D985FC #ECC1FD #F6E1FE

Accessibility & contrast

On white

2.41
#D985FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#D985FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D985FC
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D985FC#FFFFFF#000000##000000
##D985FC1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#85A9F9
Tritanopia (blue-blind)
#D797B5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d985fc;
/* rgb */ color: rgb(217, 133, 252);
/* oklch */ color: oklch(74.9% 0.184 315.3);
Tailwind
colors: {
  custom: {
    50: '#e7abfe',
    500: '#d985fc',
    950: '#000000',
  },
}
SCSS
$custom: #d985fc;
$custom-light: #e7abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d985fc",
  "rgb": {
    "r": 217,
    "g": 133,
    "b": 252
  },
  "hsl": {
    "h": 282.353,
    "s": 95.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74917,
    "c": 0.18399,
    "h": 315.3
  },
  "luminance": 0.38555
}

Semantic roles & 50–950 ramp

primary
#D985FC
secondary
#DFF6D5
accent
#E60043
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D985FC

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

Preview Lab → · Contrast checker → · Palette generator →

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