#D951DB#D951DB

#D951DB is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.6% C 0.230 H 327.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#D951DB
RGBrgb(217, 81, 219)
HSLhsl(299, 66%, 59%)
HSVhsv(299, 63%, 86%)
CMYKcmyk(0.9%, 63%, 0%, 14.1%)
CIE-LABlab(57.80, 69.68, -45.07)
CIE-LCHlch(57.80, 82.98, 327.10°)
OKLaboklab(66.6% 0.1933 -0.1246)
OKLCHoklch(66.6% 0.23 327.2)
XYZxyz(44.3432, 25.7539, 69.6395)
Luminance0.2575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951DB #53DB51
analogous
#9451DB #D951DB #DB5198
triadic
#D951DB #DBD951 #51DBD9
tetradic
#D951DB #DB9451 #53DB51 #5198DB
square
#D951DB #DB9451 #53DB51 #5198DB
split-complementary
#D951DB #98DB51 #51DB94
monochromatic
#911E93 #C429C6 #D951DB #E484E5 #EFB6F0

Accessibility & contrast

On white

3.41
#D951DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#D951DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951DB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951DB#FFFFFF#000000##000000
##D951DB1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D80DF
Deuteranopia (green-blind)
#7191D7
Tritanopia (blue-blind)
#DF648F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d951db;
/* rgb */ color: rgb(217, 81, 219);
/* oklch */ color: oklch(66.6% 0.230 327.2);
Tailwind
colors: {
  custom: {
    50: '#e88be6',
    500: '#d951db',
    950: '#000000',
  },
}
SCSS
$custom: #d951db;
$custom-light: #e88be6;
$custom-dark: #000000;
JSON
{
  "hex": "#d951db",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 299.13,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.66598,
    "c": 0.23001,
    "h": 327.2
  },
  "luminance": 0.25751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D951DB

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

Preview Lab → · Contrast checker → · Palette generator →

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