#D951C5#D951C5

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

Color values

HEX#D951C5
RGBrgb(217, 81, 197)
HSLhsl(309, 64%, 58%)
HSVhsv(309, 63%, 85%)
CMYKcmyk(0%, 62.7%, 9.2%, 14.9%)
CIE-LABlab(56.75, 66.14, -34.21)
CIE-LCHlch(56.75, 74.47, 332.65°)
OKLaboklab(65.49% 0.1914 -0.0934)
OKLCHoklch(65.49% 0.213 334)
XYZxyz(41.6360, 24.6711, 55.3816)
Luminance0.2467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951C5 #51D965
analogous
#A951D9 #D951C5 #D95181
triadic
#D951C5 #C5D951 #51C5D9
tetradic
#D951C5 #D9A951 #51D965 #5181D9
square
#D951C5 #D9A951 #51D965 #5181D9
split-complementary
#D951C5 #81D951 #51D9A9
monochromatic
#901F80 #C22AAC #D951C5 #E483D6 #EFB5E6

Accessibility & contrast

On white

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

On black

5.93
#D951C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951C5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951C5#FFFFFF#000000##000000
##D951C51.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7BC8
Deuteranopia (green-blind)
#7B8FC1
Tritanopia (blue-blind)
#E35B84
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d951c5;
/* rgb */ color: rgb(217, 81, 197);
/* oklch */ color: oklch(65.5% 0.213 334.0);
Tailwind
colors: {
  custom: {
    50: '#e88ad7',
    500: '#d951c5',
    950: '#000000',
  },
}
SCSS
$custom: #d951c5;
$custom-light: #e88ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#d951c5",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 197
  },
  "hsl": {
    "h": 308.824,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65494,
    "c": 0.21293,
    "h": 334
  },
  "luminance": 0.24668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D951C5

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

Preview Lab → · Contrast checker → · Palette generator →

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