#D985FB#D985FB

#D985FB is a light, vivid purple. Relative luminance 0.385; OKLCH L 74.9% C 0.183 H 315.5°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#D985FB
RGBrgb(217, 133, 251)
HSLhsl(283, 94%, 75%)
HSVhsv(283, 47%, 98%)
CMYKcmyk(13.5%, 47%, 0%, 1.6%)
CIE-LABlab(68.38, 51.45, -46.17)
CIE-LCHlch(68.38, 69.13, 318.10°)
OKLaboklab(74.87% 0.1306 -0.1281)
OKLCHoklch(74.87% 0.183 315.5)
XYZxyz(54.4127, 38.4933, 95.8117)
Luminance0.3849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D985FB #A7FB85
analogous
#9E85FB #D985FB #FB85E2
triadic
#D985FB #FBD985 #85FBD9
tetradic
#D985FB #FB9E85 #A7FB85 #85E2FB
square
#D985FB #FB9E85 #A7FB85 #85E2FB
split-complementary
#D985FB #E2FB85 #85FB9E
monochromatic
#B40EF7 #C74AF9 #D985FB #EBC0FD #F6E1FE

Accessibility & contrast

On white

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

On black

8.70
#D985FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D985FB
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D985FB#FFFFFF#000000##000000
##D985FB1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#86A9F8
Tritanopia (blue-blind)
#D796B4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d985fb;
/* rgb */ color: rgb(217, 133, 251);
/* oklch */ color: oklch(74.9% 0.183 315.5);
Tailwind
colors: {
  custom: {
    50: '#e7abfd',
    500: '#d985fb',
    950: '#000000',
  },
}
SCSS
$custom: #d985fb;
$custom-light: #e7abfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d985fb",
  "rgb": {
    "r": 217,
    "g": 133,
    "b": 251
  },
  "hsl": {
    "h": 282.712,
    "s": 93.651,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74867,
    "c": 0.18294,
    "h": 315.5
  },
  "luminance": 0.38492
}

Semantic roles & 50–950 ramp

primary
#D985FB
secondary
#DEF6D5
accent
#E60042
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D985FB

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

Preview Lab → · Contrast checker → · Palette generator →

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