#D951D2#D951D2

#D951D2 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.1% C 0.223 H 329.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#D951D2
RGBrgb(217, 81, 210)
HSLhsl(303, 64%, 58%)
HSVhsv(303, 63%, 85%)
CMYKcmyk(0%, 62.7%, 3.2%, 14.9%)
CIE-LABlab(57.36, 68.20, -40.67)
CIE-LCHlch(57.36, 79.41, 329.19°)
OKLaboklab(66.13% 0.1927 -0.1119)
OKLCHoklch(66.13% 0.223 329.9)
XYZxyz(43.1902, 25.2928, 63.5674)
Luminance0.2529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951D2 #51D958
analogous
#9C51D9 #D951D2 #D9518E
triadic
#D951D2 #D2D951 #51D2D9
tetradic
#D951D2 #D99C51 #51D958 #518ED9
square
#D951D2 #D99C51 #51D958 #518ED9
split-complementary
#D951D2 #8ED951 #51D99C
monochromatic
#901F8A #C22ABB #D951D2 #E483DF #EFB5EC

Accessibility & contrast

On white

3.47
#D951D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#D951D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951D2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951D2#FFFFFF#000000##000000
##D951D21.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ED6
Deuteranopia (green-blind)
#7590CE
Tritanopia (blue-blind)
#E1608A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d951d2;
/* rgb */ color: rgb(217, 81, 210);
/* oklch */ color: oklch(66.1% 0.223 329.9);
Tailwind
colors: {
  custom: {
    50: '#e88be0',
    500: '#d951d2',
    950: '#000000',
  },
}
SCSS
$custom: #d951d2;
$custom-light: #e88be0;
$custom-dark: #000000;
JSON
{
  "hex": "#d951d2",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 303.088,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.66133,
    "c": 0.22286,
    "h": 329.9
  },
  "luminance": 0.2529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D951D2

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

Preview Lab → · Contrast checker → · Palette generator →

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