#D951C4#D951C4

#D951C4 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.4% C 0.212 H 334.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#D951C4
RGBrgb(217, 81, 196)
HSLhsl(309, 64%, 58%)
HSVhsv(309, 63%, 85%)
CMYKcmyk(0%, 62.7%, 9.7%, 14.9%)
CIE-LABlab(56.71, 65.99, -33.71)
CIE-LCHlch(56.71, 74.10, 332.94°)
OKLaboklab(65.45% 0.1912 -0.0919)
OKLCHoklch(65.45% 0.212 334.3)
XYZxyz(41.5218, 24.6254, 54.7801)
Luminance0.2462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951C4 #51D966
analogous
#AA51D9 #D951C4 #D95180
triadic
#D951C4 #C4D951 #51C4D9
tetradic
#D951C4 #D9AA51 #51D966 #5180D9
square
#D951C4 #D9AA51 #51D966 #5180D9
split-complementary
#D951C4 #80D951 #51D9AA
monochromatic
#901F7F #C22AAB #D951C4 #E483D5 #EFB5E6

Accessibility & contrast

On white

3.54
#D951C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#D951C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951C4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951C4#FFFFFF#000000##000000
##D951C41.003.545.925.92
#FFFFFF3.541.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7BC7
Deuteranopia (green-blind)
#7C8FC0
Tritanopia (blue-blind)
#E35B83
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d951c4;
/* rgb */ color: rgb(217, 81, 196);
/* oklch */ color: oklch(65.4% 0.212 334.3);
Tailwind
colors: {
  custom: {
    50: '#e88ad6',
    500: '#d951c4',
    950: '#000000',
  },
}
SCSS
$custom: #d951c4;
$custom-light: #e88ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#d951c4",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 196
  },
  "hsl": {
    "h": 309.265,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65447,
    "c": 0.21218,
    "h": 334.3
  },
  "luminance": 0.24622
}

Semantic roles & 50–950 ramp

primary
#D951C4
secondary
#A8DEB0
accent
#E75A41
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160D14
muted
#847D83

Preview Lab

Preview with #D951C4

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

Preview Lab → · Contrast checker → · Palette generator →

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