#D951C7#D951C7

#D951C7 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.6% C 0.214 H 333.3°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#D951C7
RGBrgb(217, 81, 199)
HSLhsl(308, 64%, 58%)
HSVhsv(308, 63%, 85%)
CMYKcmyk(0%, 62.7%, 8.3%, 14.9%)
CIE-LABlab(56.84, 66.45, -35.21)
CIE-LCHlch(56.84, 75.21, 332.08°)
OKLaboklab(65.59% 0.1916 -0.0962)
OKLCHoklch(65.59% 0.214 333.3)
XYZxyz(41.8667, 24.7633, 56.5965)
Luminance0.2476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951C7 #51D963
analogous
#A751D9 #D951C7 #D95183
triadic
#D951C7 #C7D951 #51C7D9
tetradic
#D951C7 #D9A751 #51D963 #5183D9
square
#D951C7 #D9A751 #51D963 #5183D9
split-complementary
#D951C7 #83D951 #51D9A7
monochromatic
#901F81 #C22AAE #D951C7 #E483D7 #EFB5E7

Accessibility & contrast

On white

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

On black

5.95
#D951C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951C7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951C7#FFFFFF#000000##000000
##D951C71.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCB
Deuteranopia (green-blind)
#7A8FC3
Tritanopia (blue-blind)
#E25C85
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d951c7;
/* rgb */ color: rgb(217, 81, 199);
/* oklch */ color: oklch(65.6% 0.214 333.3);
Tailwind
colors: {
  custom: {
    50: '#e88bd8',
    500: '#d951c7',
    950: '#000000',
  },
}
SCSS
$custom: #d951c7;
$custom-light: #e88bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#d951c7",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 307.941,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6559,
    "c": 0.21443,
    "h": 333.3
  },
  "luminance": 0.2476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D951C7

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

Preview Lab → · Contrast checker → · Palette generator →

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