#D851E1#D851E1

#D851E1 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.8% C 0.234 H 325.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#D851E1
RGBrgb(216, 81, 225)
HSLhsl(296, 71%, 60%)
HSVhsv(296, 64%, 88%)
CMYKcmyk(4%, 64%, 0%, 11.8%)
CIE-LABlab(57.96, 70.46, -48.21)
CIE-LCHlch(57.96, 85.37, 325.62°)
OKLaboklab(66.78% 0.1925 -0.1337)
OKLCHoklch(66.78% 0.234 325.2)
XYZxyz(44.8509, 25.9228, 73.8608)
Luminance0.2592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D851E1 #5AE151
analogous
#9051E1 #D851E1 #E151A2
triadic
#D851E1 #E1D851 #51E1D8
tetradic
#D851E1 #E19051 #5AE151 #51A2E1
square
#D851E1 #E19051 #5AE151 #51A2E1
split-complementary
#D851E1 #A2E151 #51E190
monochromatic
#941B9D #C624D1 #D851E1 #E485EA #EFB9F3

Accessibility & contrast

On white

3.40
#D851E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#D851E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D851E1
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D851E1#FFFFFF#000000##000000
##D851E11.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3681E5
Deuteranopia (green-blind)
#6C91DD
Tritanopia (blue-blind)
#DD6692
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d851e1;
/* rgb */ color: rgb(216, 81, 225);
/* oklch */ color: oklch(66.8% 0.234 325.2);
Tailwind
colors: {
  custom: {
    50: '#e88beb',
    500: '#d851e1',
    950: '#000000',
  },
}
SCSS
$custom: #d851e1;
$custom-light: #e88beb;
$custom-dark: #000000;
JSON
{
  "hex": "#d851e1",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 296.25,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.66784,
    "c": 0.23439,
    "h": 325.2
  },
  "luminance": 0.2592
}

Semantic roles & 50–950 ramp

primary
#D851E1
secondary
#AFE3AB
accent
#ED3A46
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D851E1

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

Preview Lab → · Contrast checker → · Palette generator →

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