#D951C6#D951C6

#D951C6 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.5% C 0.214 H 333.7°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#D951C6
RGBrgb(217, 81, 198)
HSLhsl(308, 64%, 58%)
HSVhsv(308, 63%, 85%)
CMYKcmyk(0%, 62.7%, 8.8%, 14.9%)
CIE-LABlab(56.80, 66.30, -34.71)
CIE-LCHlch(56.80, 74.83, 332.36°)
OKLaboklab(65.54% 0.1915 -0.0948)
OKLCHoklch(65.54% 0.214 333.7)
XYZxyz(41.7509, 24.7170, 55.9870)
Luminance0.2471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951C6 #51D964
analogous
#A851D9 #D951C6 #D95182
triadic
#D951C6 #C6D951 #51C6D9
tetradic
#D951C6 #D9A851 #51D964 #5182D9
square
#D951C6 #D9A851 #51D964 #5182D9
split-complementary
#D951C6 #82D951 #51D9A8
monochromatic
#901F80 #C22AAD #D951C6 #E483D6 #EFB5E7

Accessibility & contrast

On white

3.53
#D951C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#D951C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951C6
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951C6#FFFFFF#000000##000000
##D951C61.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCA
Deuteranopia (green-blind)
#7B8FC2
Tritanopia (blue-blind)
#E25B84
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d951c6;
/* rgb */ color: rgb(217, 81, 198);
/* oklch */ color: oklch(65.5% 0.214 333.7);
Tailwind
colors: {
  custom: {
    50: '#e88ad7',
    500: '#d951c6',
    950: '#000000',
  },
}
SCSS
$custom: #d951c6;
$custom-light: #e88ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#d951c6",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 198
  },
  "hsl": {
    "h": 308.382,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65542,
    "c": 0.21368,
    "h": 333.7
  },
  "luminance": 0.24714
}

Semantic roles & 50–950 ramp

primary
#D951C6
secondary
#A8DEAF
accent
#E75841
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160D14
muted
#847D83

Preview Lab

Preview with #D951C6

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

Preview Lab → · Contrast checker → · Palette generator →

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