#D951D7#D951D7

#D951D7 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.4% C 0.227 H 328.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#D951D7
RGBrgb(217, 81, 215)
HSLhsl(301, 64%, 58%)
HSVhsv(301, 63%, 85%)
CMYKcmyk(0%, 62.7%, 0.9%, 14.9%)
CIE-LABlab(57.60, 69.01, -43.12)
CIE-LCHlch(57.60, 81.38, 328.00°)
OKLaboklab(66.39% 0.1931 -0.119)
OKLCHoklch(66.39% 0.227 328.4)
XYZxyz(43.8229, 25.5458, 66.8995)
Luminance0.2554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951D7 #51D953
analogous
#9751D9 #D951D7 #D95193
triadic
#D951D7 #D7D951 #51D7D9
tetradic
#D951D7 #D99751 #51D953 #5193D9
square
#D951D7 #D99751 #51D953 #5193D9
split-complementary
#D951D7 #93D951 #51D997
monochromatic
#901F8E #C22AC0 #D951D7 #E483E3 #EFB5EE

Accessibility & contrast

On white

3.44
#D951D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#D951D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951D7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951D7#FFFFFF#000000##000000
##D951D71.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#417FDB
Deuteranopia (green-blind)
#7391D3
Tritanopia (blue-blind)
#E0628D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d951d7;
/* rgb */ color: rgb(217, 81, 215);
/* oklch */ color: oklch(66.4% 0.227 328.4);
Tailwind
colors: {
  custom: {
    50: '#e88be4',
    500: '#d951d7',
    950: '#000000',
  },
}
SCSS
$custom: #d951d7;
$custom-light: #e88be4;
$custom-dark: #000000;
JSON
{
  "hex": "#d951d7",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 300.882,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.66389,
    "c": 0.22681,
    "h": 328.4
  },
  "luminance": 0.25543
}

Semantic roles & 50–950 ramp

primary
#D951D7
secondary
#A8DEA9
accent
#E74341
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #D951D7

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

Preview Lab → · Contrast checker → · Palette generator →

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