#D851E6#D851E6

#D851E6 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.1% C 0.238 H 323.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#D851E6
RGBrgb(216, 81, 230)
HSLhsl(294, 75%, 61%)
HSVhsv(294, 65%, 90%)
CMYKcmyk(6.1%, 64.8%, 0%, 9.8%)
CIE-LABlab(58.23, 71.32, -50.60)
CIE-LCHlch(58.23, 87.45, 324.65°)
OKLaboklab(67.06% 0.1926 -0.1407)
OKLCHoklch(67.06% 0.239 323.8)
XYZxyz(45.5430, 26.1996, 77.5057)
Luminance0.2620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D851E6 #5FE651
analogous
#8D51E6 #D851E6 #E651AA
triadic
#D851E6 #E6D851 #51E6D8
tetradic
#D851E6 #E68D51 #5FE651 #51AAE6
square
#D851E6 #E68D51 #5FE651 #51AAE6
split-complementary
#D851E6 #AAE651 #51E68D
monochromatic
#9818A5 #C91FDA #D851E6 #E487EE #F0BCF5

Accessibility & contrast

On white

3.37
#D851E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#D851E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D851E6
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D851E6#FFFFFF#000000##000000
##D851E61.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EA
Deuteranopia (green-blind)
#6991E2
Tritanopia (blue-blind)
#DC6895
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d851e6;
/* rgb */ color: rgb(216, 81, 230);
/* oklch */ color: oklch(67.1% 0.238 323.8);
Tailwind
colors: {
  custom: {
    50: '#e88bee',
    500: '#d851e6',
    950: '#000000',
  },
}
SCSS
$custom: #d851e6;
$custom-light: #e88bee;
$custom-dark: #000000;
JSON
{
  "hex": "#d851e6",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 294.362,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67058,
    "c": 0.2385,
    "h": 323.8
  },
  "luminance": 0.26197
}

Semantic roles & 50–950 ramp

primary
#D851E6
secondary
#B3E5AD
accent
#D70E21
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D851E6

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

Preview Lab → · Contrast checker → · Palette generator →

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