#D851DB#D851DB

#D851DB is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.5% C 0.230 H 326.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#D851DB
RGBrgb(216, 81, 219)
HSLhsl(299, 66%, 59%)
HSVhsv(299, 63%, 86%)
CMYKcmyk(1.4%, 63%, 0%, 14.1%)
CIE-LABlab(57.66, 69.44, -45.31)
CIE-LCHlch(57.66, 82.92, 326.88°)
OKLaboklab(66.46% 0.1922 -0.1253)
OKLCHoklch(66.46% 0.23 326.9)
XYZxyz(44.0468, 25.6011, 69.6256)
Luminance0.2560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D851DB #54DB51
analogous
#9351DB #D851DB #DB5199
triadic
#D851DB #DBD851 #51DBD8
tetradic
#D851DB #DB9351 #54DB51 #5199DB
square
#D851DB #DB9351 #54DB51 #5199DB
split-complementary
#D851DB #99DB51 #51DB93
monochromatic
#911E93 #C229C6 #D851DB #E384E5 #EFB6F0

Accessibility & contrast

On white

3.43
#D851DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#D851DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D851DB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D851DB#FFFFFF#000000##000000
##D851DB1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDF
Deuteranopia (green-blind)
#7091D7
Tritanopia (blue-blind)
#DE648F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d851db;
/* rgb */ color: rgb(216, 81, 219);
/* oklch */ color: oklch(66.5% 0.230 326.9);
Tailwind
colors: {
  custom: {
    50: '#e78be6',
    500: '#d851db',
    950: '#000000',
  },
}
SCSS
$custom: #d851db;
$custom-light: #e78be6;
$custom-dark: #000000;
JSON
{
  "hex": "#d851db",
  "rgb": {
    "r": 216,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 298.696,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66463,
    "c": 0.2295,
    "h": 326.9
  },
  "luminance": 0.25598
}

Semantic roles & 50–950 ramp

primary
#D851DB
secondary
#AADFA9
accent
#E93F43
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D851DB

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

Preview Lab → · Contrast checker → · Palette generator →

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