#D951CB#D951CB

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

Color values

HEX#D951CB
RGBrgb(217, 81, 203)
HSLhsl(306, 64%, 58%)
HSVhsv(306, 63%, 85%)
CMYKcmyk(0%, 62.7%, 6.5%, 14.9%)
CIE-LABlab(57.03, 67.08, -37.21)
CIE-LCHlch(57.03, 76.71, 330.98°)
OKLaboklab(65.78% 0.1921 -0.1019)
OKLCHoklch(65.78% 0.217 332)
XYZxyz(42.3372, 24.9515, 59.0746)
Luminance0.2495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951CB #51D95F
analogous
#A351D9 #D951CB #D95187
triadic
#D951CB #CBD951 #51CBD9
tetradic
#D951CB #D9A351 #51D95F #5187D9
square
#D951CB #D9A351 #51D95F #5187D9
split-complementary
#D951CB #87D951 #51D9A3
monochromatic
#901F85 #C22AB3 #D951CB #E483DA #EFB5E9

Accessibility & contrast

On white

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

On black

5.99
#D951CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951CB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951CB#FFFFFF#000000##000000
##D951CB1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DCF
Deuteranopia (green-blind)
#7990C7
Tritanopia (blue-blind)
#E25D87
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d951cb;
/* rgb */ color: rgb(217, 81, 203);
/* oklch */ color: oklch(65.8% 0.217 332.0);
Tailwind
colors: {
  custom: {
    50: '#e88bdb',
    500: '#d951cb',
    950: '#000000',
  },
}
SCSS
$custom: #d951cb;
$custom-light: #e88bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d951cb",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 306.176,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65784,
    "c": 0.21745,
    "h": 332
  },
  "luminance": 0.24948
}

Semantic roles & 50–950 ramp

primary
#D951CB
secondary
#A8DEAD
accent
#E75241
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D951CB

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

Preview Lab → · Contrast checker → · Palette generator →

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