#D951C3#D951C3

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

Color values

HEX#D951C3
RGBrgb(217, 81, 195)
HSLhsl(310, 64%, 58%)
HSVhsv(310, 63%, 85%)
CMYKcmyk(0%, 62.7%, 10.1%, 14.9%)
CIE-LABlab(56.66, 65.83, -33.21)
CIE-LCHlch(56.66, 73.73, 333.23°)
OKLaboklab(65.4% 0.1911 -0.0905)
OKLCHoklch(65.4% 0.211 334.7)
XYZxyz(41.4083, 24.5800, 54.1827)
Luminance0.2458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951C3 #51D967
analogous
#AB51D9 #D951C3 #D9517F
triadic
#D951C3 #C3D951 #51C3D9
tetradic
#D951C3 #D9AB51 #51D967 #517FD9
square
#D951C3 #D9AB51 #51D967 #517FD9
split-complementary
#D951C3 #7FD951 #51D9AB
monochromatic
#901F7E #C22AAA #D951C3 #E483D4 #EFB5E6

Accessibility & contrast

On white

3.55
#D951C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D951C3#FFFFFF#000000##000000
##D951C31.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#507BC6
Deuteranopia (green-blind)
#7C8FC0
Tritanopia (blue-blind)
#E35A83
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d951c3;
/* rgb */ color: rgb(217, 81, 195);
/* oklch */ color: oklch(65.4% 0.211 334.7);
Tailwind
colors: {
  custom: {
    50: '#e88ad5',
    500: '#d951c3',
    950: '#000000',
  },
}
SCSS
$custom: #d951c3;
$custom-light: #e88ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#d951c3",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 195
  },
  "hsl": {
    "h": 309.706,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.654,
    "c": 0.21145,
    "h": 334.7
  },
  "luminance": 0.24577
}

Semantic roles & 50–950 ramp

primary
#D951C3
secondary
#A8DEB1
accent
#E75C41
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D951C3

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

Preview Lab → · Contrast checker → · Palette generator →

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