#D951D5#D951D5

#D951D5 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.3% C 0.225 H 328.9°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#D951D5
RGBrgb(217, 81, 213)
HSLhsl(302, 64%, 58%)
HSVhsv(302, 63%, 85%)
CMYKcmyk(0%, 62.7%, 1.8%, 14.9%)
CIE-LABlab(57.51, 68.69, -42.15)
CIE-LCHlch(57.51, 80.59, 328.47°)
OKLaboklab(66.29% 0.193 -0.1162)
OKLCHoklch(66.29% 0.225 328.9)
XYZxyz(43.5675, 25.4437, 65.5543)
Luminance0.2544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951D5 #51D955
analogous
#9951D9 #D951D5 #D95191
triadic
#D951D5 #D5D951 #51D5D9
tetradic
#D951D5 #D99951 #51D955 #5191D9
square
#D951D5 #D99951 #51D955 #5191D9
split-complementary
#D951D5 #91D951 #51D999
monochromatic
#901F8D #C22ABE #D951D5 #E483E1 #EFB5ED

Accessibility & contrast

On white

3.45
#D951D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#D951D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951D5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951D5#FFFFFF#000000##000000
##D951D51.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#437ED9
Deuteranopia (green-blind)
#7491D1
Tritanopia (blue-blind)
#E0618C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d951d5;
/* rgb */ color: rgb(217, 81, 213);
/* oklch */ color: oklch(66.3% 0.225 328.9);
Tailwind
colors: {
  custom: {
    50: '#e88be2',
    500: '#d951d5',
    950: '#000000',
  },
}
SCSS
$custom: #d951d5;
$custom-light: #e88be2;
$custom-dark: #000000;
JSON
{
  "hex": "#d951d5",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 301.765,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.66286,
    "c": 0.22522,
    "h": 328.9
  },
  "luminance": 0.25441
}

Semantic roles & 50–950 ramp

primary
#D951D5
secondary
#A8DEA9
accent
#E74641
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D951D5

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

Preview Lab → · Contrast checker → · Palette generator →

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