#D951E6#D951E6

#D951E6 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.2% C 0.239 H 324.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#D951E6
RGBrgb(217, 81, 230)
HSLhsl(295, 75%, 61%)
HSVhsv(295, 65%, 90%)
CMYKcmyk(5.7%, 64.8%, 0%, 9.8%)
CIE-LABlab(58.37, 71.55, -50.36)
CIE-LCHlch(58.37, 87.49, 324.86°)
OKLaboklab(67.19% 0.1937 -0.14)
OKLCHoklch(67.19% 0.239 324.1)
XYZxyz(45.8394, 26.3524, 77.5196)
Luminance0.2635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951E6 #5EE651
analogous
#8E51E6 #D951E6 #E651A8
triadic
#D951E6 #E6D951 #51E6D9
tetradic
#D951E6 #E68E51 #5EE651 #51A8E6
square
#D951E6 #E68E51 #5EE651 #51A8E6
split-complementary
#D951E6 #A8E651 #51E68E
monochromatic
#9918A5 #CA1FDA #D951E6 #E587EE #F0BCF5

Accessibility & contrast

On white

3.35
#D951E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#D951E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951E6
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951E6#FFFFFF#000000##000000
##D951E61.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3182EA
Deuteranopia (green-blind)
#6A92E2
Tritanopia (blue-blind)
#DD6895
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d951e6;
/* rgb */ color: rgb(217, 81, 230);
/* oklch */ color: oklch(67.2% 0.239 324.1);
Tailwind
colors: {
  custom: {
    50: '#e88bee',
    500: '#d951e6',
    950: '#000000',
  },
}
SCSS
$custom: #d951e6;
$custom-light: #e88bee;
$custom-dark: #000000;
JSON
{
  "hex": "#d951e6",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 294.765,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67191,
    "c": 0.23897,
    "h": 324.1
  },
  "luminance": 0.2635
}

Semantic roles & 50–950 ramp

primary
#D951E6
secondary
#B2E5AD
accent
#D70E20
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D951E6

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

Preview Lab → · Contrast checker → · Palette generator →

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