#D985F7#D985F7

#D985F7 is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.7% C 0.179 H 316.7°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#D985F7
RGBrgb(217, 133, 247)
HSLhsl(284, 88%, 75%)
HSVhsv(284, 46%, 97%)
CMYKcmyk(12.1%, 46.2%, 0%, 3.1%)
CIE-LABlab(68.20, 50.64, -44.26)
CIE-LCHlch(68.20, 67.26, 318.85°)
OKLaboklab(74.67% 0.13 -0.1226)
OKLCHoklch(74.67% 0.179 316.7)
XYZxyz(53.7888, 38.2438, 92.5260)
Luminance0.3824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D985F7 #A3F785
analogous
#A085F7 #D985F7 #F785DC
triadic
#D985F7 #F7D985 #85F7D9
tetradic
#D985F7 #F7A085 #A3F785 #85DCF7
square
#D985F7 #F7A085 #A3F785 #85DCF7
split-complementary
#D985F7 #DCF785 #85F7A0
monochromatic
#B512EF #C74CF3 #D985F7 #EBBEFB #F6E2FD

Accessibility & contrast

On white

2.43
#D985F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#D985F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D985F7
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D985F7#FFFFFF#000000##000000
##D985F71.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FB
Deuteranopia (green-blind)
#88A9F4
Tritanopia (blue-blind)
#D895B3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d985f7;
/* rgb */ color: rgb(217, 133, 247);
/* oklch */ color: oklch(74.7% 0.179 316.7);
Tailwind
colors: {
  custom: {
    50: '#e7abfa',
    500: '#d985f7',
    950: '#000000',
  },
}
SCSS
$custom: #d985f7;
$custom-light: #e7abfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d985f7",
  "rgb": {
    "r": 217,
    "g": 133,
    "b": 247
  },
  "hsl": {
    "h": 284.211,
    "s": 87.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74672,
    "c": 0.17871,
    "h": 316.7
  },
  "luminance": 0.38242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D985F7

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

Preview Lab → · Contrast checker → · Palette generator →

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