#D951CA#D951CA

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

Color values

HEX#D951CA
RGBrgb(217, 81, 202)
HSLhsl(307, 64%, 58%)
HSVhsv(307, 63%, 85%)
CMYKcmyk(0%, 62.7%, 6.9%, 14.9%)
CIE-LABlab(56.98, 66.92, -36.71)
CIE-LCHlch(56.98, 76.33, 331.25°)
OKLaboklab(65.74% 0.192 -0.1005)
OKLCHoklch(65.74% 0.217 332.4)
XYZxyz(42.2184, 24.9040, 58.4490)
Luminance0.2490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951CA #51D960
analogous
#A451D9 #D951CA #D95186
triadic
#D951CA #CAD951 #51CAD9
tetradic
#D951CA #D9A451 #51D960 #5186D9
square
#D951CA #D9A451 #51D960 #5186D9
split-complementary
#D951CA #86D951 #51D9A4
monochromatic
#901F84 #C22AB2 #D951CA #E483D9 #EFB5E9

Accessibility & contrast

On white

3.51
#D951CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#D951CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951CA
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951CA#FFFFFF#000000##000000
##D951CA1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d951ca;
/* rgb */ color: rgb(217, 81, 202);
/* oklch */ color: oklch(65.7% 0.217 332.4);
Tailwind
colors: {
  custom: {
    50: '#e88bda',
    500: '#d951ca',
    950: '#000000',
  },
}
SCSS
$custom: #d951ca;
$custom-light: #e88bda;
$custom-dark: #000000;
JSON
{
  "hex": "#d951ca",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 306.618,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65735,
    "c": 0.21669,
    "h": 332.4
  },
  "luminance": 0.24901
}

Semantic roles & 50–950 ramp

primary
#D951CA
secondary
#A8DEAE
accent
#E75341
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D951CA

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

Preview Lab → · Contrast checker → · Palette generator →

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