#D951D3#D951D3

#D951D3 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.2% C 0.224 H 329.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#D951D3
RGBrgb(217, 81, 211)
HSLhsl(303, 64%, 58%)
HSVhsv(303, 63%, 85%)
CMYKcmyk(0%, 62.7%, 2.8%, 14.9%)
CIE-LABlab(57.41, 68.36, -41.17)
CIE-LCHlch(57.41, 79.80, 328.94°)
OKLaboklab(66.18% 0.1928 -0.1133)
OKLCHoklch(66.18% 0.224 329.6)
XYZxyz(43.3152, 25.3428, 64.2256)
Luminance0.2534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951D3 #51D957
analogous
#9B51D9 #D951D3 #D9518F
triadic
#D951D3 #D3D951 #51D3D9
tetradic
#D951D3 #D99B51 #51D957 #518FD9
square
#D951D3 #D99B51 #51D957 #518FD9
split-complementary
#D951D3 #8FD951 #51D99B
monochromatic
#901F8B #C22ABC #D951D3 #E483E0 #EFB5EC

Accessibility & contrast

On white

3.46
#D951D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#D951D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951D3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951D3#FFFFFF#000000##000000
##D951D31.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ED7
Deuteranopia (green-blind)
#7590CF
Tritanopia (blue-blind)
#E0618B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d951d3;
/* rgb */ color: rgb(217, 81, 211);
/* oklch */ color: oklch(66.2% 0.224 329.6);
Tailwind
colors: {
  custom: {
    50: '#e88be1',
    500: '#d951d3',
    950: '#000000',
  },
}
SCSS
$custom: #d951d3;
$custom-light: #e88be1;
$custom-dark: #000000;
JSON
{
  "hex": "#d951d3",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 302.647,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.66183,
    "c": 0.22365,
    "h": 329.6
  },
  "luminance": 0.2534
}

Semantic roles & 50–950 ramp

primary
#D951D3
secondary
#A8DEAA
accent
#E74841
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D951D3

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

Preview Lab → · Contrast checker → · Palette generator →

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