#D951C9#D951C9

#D951C9 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.7% C 0.216 H 332.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D951C9
RGBrgb(217, 81, 201)
HSLhsl(307, 64%, 58%)
HSVhsv(307, 63%, 85%)
CMYKcmyk(0%, 62.7%, 7.4%, 14.9%)
CIE-LABlab(56.94, 66.76, -36.21)
CIE-LCHlch(56.94, 75.95, 331.52°)
OKLaboklab(65.69% 0.1919 -0.0991)
OKLCHoklch(65.69% 0.216 332.7)
XYZxyz(42.1004, 24.8568, 57.8275)
Luminance0.2485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951C9 #51D961
analogous
#A551D9 #D951C9 #D95185
triadic
#D951C9 #C9D951 #51C9D9
tetradic
#D951C9 #D9A551 #51D961 #5185D9
square
#D951C9 #D9A551 #51D961 #5185D9
split-complementary
#D951C9 #85D951 #51D9A5
monochromatic
#901F83 #C22AB0 #D951C9 #E483D9 #EFB5E8

Accessibility & contrast

On white

3.52
#D951C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D951C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951C9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951C9#FFFFFF#000000##000000
##D951C91.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7CCD
Deuteranopia (green-blind)
#7990C5
Tritanopia (blue-blind)
#E25D86
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d951c9;
/* rgb */ color: rgb(217, 81, 201);
/* oklch */ color: oklch(65.7% 0.216 332.7);
Tailwind
colors: {
  custom: {
    50: '#e88bda',
    500: '#d951c9',
    950: '#000000',
  },
}
SCSS
$custom: #d951c9;
$custom-light: #e88bda;
$custom-dark: #000000;
JSON
{
  "hex": "#d951c9",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 201
  },
  "hsl": {
    "h": 307.059,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65686,
    "c": 0.21593,
    "h": 332.7
  },
  "luminance": 0.24854
}

Semantic roles & 50–950 ramp

primary
#D951C9
secondary
#A8DEAE
accent
#E75441
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160D15
muted
#847D83

Preview Lab

Preview with #D951C9

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

Preview Lab → · Contrast checker → · Palette generator →

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