#D951C8#D951C8

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

Color values

HEX#D951C8
RGBrgb(217, 81, 200)
HSLhsl(308, 64%, 58%)
HSVhsv(308, 63%, 85%)
CMYKcmyk(0%, 62.7%, 7.8%, 14.9%)
CIE-LABlab(56.89, 66.61, -35.71)
CIE-LCHlch(56.89, 75.58, 331.80°)
OKLaboklab(65.64% 0.1917 -0.0977)
OKLCHoklch(65.64% 0.215 333)
XYZxyz(41.9831, 24.8099, 57.2100)
Luminance0.2481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951C8 #51D962
analogous
#A651D9 #D951C8 #D95184
triadic
#D951C8 #C8D951 #51C8D9
tetradic
#D951C8 #D9A651 #51D962 #5184D9
square
#D951C8 #D9A651 #51D962 #5184D9
split-complementary
#D951C8 #84D951 #51D9A6
monochromatic
#901F82 #C22AAF #D951C8 #E483D8 #EFB5E8

Accessibility & contrast

On white

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

On black

5.96
#D951C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951C8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951C8#FFFFFF#000000##000000
##D951C81.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d951c8;
/* rgb */ color: rgb(217, 81, 200);
/* oklch */ color: oklch(65.6% 0.215 333.0);
Tailwind
colors: {
  custom: {
    50: '#e88bd9',
    500: '#d951c8',
    950: '#000000',
  },
}
SCSS
$custom: #d951c8;
$custom-light: #e88bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d951c8",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 307.5,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65638,
    "c": 0.21518,
    "h": 333
  },
  "luminance": 0.24807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D951C8

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

Preview Lab → · Contrast checker → · Palette generator →

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