#D951D0#D951D0

#D951D0 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.0% C 0.221 H 330.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#D951D0
RGBrgb(217, 81, 208)
HSLhsl(304, 64%, 58%)
HSVhsv(304, 63%, 85%)
CMYKcmyk(0%, 62.7%, 4.1%, 14.9%)
CIE-LABlab(57.26, 67.87, -39.69)
CIE-LCHlch(57.26, 78.63, 329.68°)
OKLaboklab(66.03% 0.1926 -0.1091)
OKLCHoklch(66.03% 0.221 330.5)
XYZxyz(42.9426, 25.1937, 62.2634)
Luminance0.2519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951D0 #51D95A
analogous
#9E51D9 #D951D0 #D9518C
triadic
#D951D0 #D0D951 #51D0D9
tetradic
#D951D0 #D99E51 #51D95A #518CD9
square
#D951D0 #D99E51 #51D95A #518CD9
split-complementary
#D951D0 #8CD951 #51D99E
monochromatic
#901F89 #C22AB8 #D951D0 #E483DE #EFB5EB

Accessibility & contrast

On white

3.48
#D951D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#D951D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951D0
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951D0#FFFFFF#000000##000000
##D951D01.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#477DD4
Deuteranopia (green-blind)
#7690CC
Tritanopia (blue-blind)
#E15F89
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d951d0;
/* rgb */ color: rgb(217, 81, 208);
/* oklch */ color: oklch(66.0% 0.221 330.5);
Tailwind
colors: {
  custom: {
    50: '#e88bdf',
    500: '#d951d0',
    950: '#000000',
  },
}
SCSS
$custom: #d951d0;
$custom-light: #e88bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#d951d0",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 208
  },
  "hsl": {
    "h": 303.971,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.66032,
    "c": 0.2213,
    "h": 330.5
  },
  "luminance": 0.25191
}

Semantic roles & 50–950 ramp

primary
#D951D0
secondary
#A8DEAB
accent
#E74C41
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D951D0

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

Preview Lab → · Contrast checker → · Palette generator →

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