#D851EA#D851EA

#D851EA is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.3% C 0.242 H 322.8°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#D851EA
RGBrgb(216, 81, 234)
HSLhsl(293, 78%, 62%)
HSVhsv(293, 65%, 92%)
CMYKcmyk(7.7%, 65.4%, 0%, 8.2%)
CIE-LABlab(58.44, 72.02, -52.50)
CIE-LCHlch(58.44, 89.12, 323.91°)
OKLaboklab(67.28% 0.1926 -0.1462)
OKLCHoklch(67.28% 0.242 322.8)
XYZxyz(46.1111, 26.4269, 80.4980)
Luminance0.2642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D851EA #63EA51
analogous
#8C51EA #D851EA #EA51B0
triadic
#D851EA #EAD851 #51EAD8
tetradic
#D851EA #EA8C51 #63EA51 #51B0EA
square
#D851EA #EA8C51 #63EA51 #51B0EA
split-complementary
#D851EA #B0EA51 #51EA8C
monochromatic
#9A15AC #CB1BE2 #D851EA #E488F1 #F0BEF7

Accessibility & contrast

On white

3.34
#D851EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#D851EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D851EA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D851EA#FFFFFF#000000##000000
##D851EA1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2982EE
Deuteranopia (green-blind)
#6792E6
Tritanopia (blue-blind)
#DB6A97
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d851ea;
/* rgb */ color: rgb(216, 81, 234);
/* oklch */ color: oklch(67.3% 0.242 322.8);
Tailwind
colors: {
  custom: {
    50: '#e88bf1',
    500: '#d851ea',
    950: '#000000',
  },
}
SCSS
$custom: #d851ea;
$custom-light: #e88bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d851ea",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 292.941,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67282,
    "c": 0.24183,
    "h": 322.8
  },
  "luminance": 0.26424
}

Semantic roles & 50–950 ramp

primary
#D851EA
secondary
#B6E8AF
accent
#DB0B23
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D851EA

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

Preview Lab → · Contrast checker → · Palette generator →

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