#D951D8#D951D8

#D951D8 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.4% C 0.228 H 328.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#D951D8
RGBrgb(217, 81, 216)
HSLhsl(300, 64%, 58%)
HSVhsv(300, 63%, 85%)
CMYKcmyk(0%, 62.7%, 0.5%, 14.9%)
CIE-LABlab(57.65, 69.18, -43.61)
CIE-LCHlch(57.65, 81.78, 327.77°)
OKLaboklab(66.44% 0.1931 -0.1204)
OKLCHoklch(66.44% 0.228 328.1)
XYZxyz(43.9518, 25.5974, 67.5783)
Luminance0.2559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951D8 #51D952
analogous
#9651D9 #D951D8 #D95194
triadic
#D951D8 #D8D951 #51D8D9
tetradic
#D951D8 #D99651 #51D952 #5194D9
square
#D951D8 #D99651 #51D952 #5194D9
split-complementary
#D951D8 #94D951 #51D996
monochromatic
#901F8F #C22AC1 #D951D8 #E483E3 #EFB5EF

Accessibility & contrast

On white

3.43
#D951D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#D951D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951D8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951D8#FFFFFF#000000##000000
##D951D81.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#407FDC
Deuteranopia (green-blind)
#7291D4
Tritanopia (blue-blind)
#E0638E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d951d8;
/* rgb */ color: rgb(217, 81, 216);
/* oklch */ color: oklch(66.4% 0.228 328.1);
Tailwind
colors: {
  custom: {
    50: '#e88be4',
    500: '#d951d8',
    950: '#000000',
  },
}
SCSS
$custom: #d951d8;
$custom-light: #e88be4;
$custom-dark: #000000;
JSON
{
  "hex": "#d951d8",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 300.441,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.66441,
    "c": 0.2276,
    "h": 328.1
  },
  "luminance": 0.25594
}

Semantic roles & 50–950 ramp

primary
#D951D8
secondary
#A8DEA8
accent
#E74241
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D951D8

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

Preview Lab → · Contrast checker → · Palette generator →

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