#D951E4#D951E4

#D951E4 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.1% C 0.237 H 324.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#D951E4
RGBrgb(217, 81, 228)
HSLhsl(296, 73%, 61%)
HSVhsv(296, 64%, 89%)
CMYKcmyk(4.8%, 64.5%, 0%, 10.6%)
CIE-LABlab(58.26, 71.20, -49.41)
CIE-LCHlch(58.26, 86.66, 325.24°)
OKLaboklab(67.08% 0.1936 -0.1372)
OKLCHoklch(67.08% 0.237 324.7)
XYZxyz(45.5602, 26.2407, 76.0490)
Luminance0.2624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951E4 #5CE451
analogous
#8F51E4 #D951E4 #E451A5
triadic
#D951E4 #E4D951 #51E4D9
tetradic
#D951E4 #E48F51 #5CE451 #51A5E4
square
#D951E4 #E48F51 #5CE451 #51A5E4
split-complementary
#D951E4 #A5E451 #51E48F
monochromatic
#9719A2 #C921D7 #D951E4 #E586EC #F0BBF4

Accessibility & contrast

On white

3.36
#D951E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#D951E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951E4
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951E4#FFFFFF#000000##000000
##D951E41.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3381E8
Deuteranopia (green-blind)
#6C92E0
Tritanopia (blue-blind)
#DD6794
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d951e4;
/* rgb */ color: rgb(217, 81, 228);
/* oklch */ color: oklch(67.1% 0.237 324.7);
Tailwind
colors: {
  custom: {
    50: '#e88bed',
    500: '#d951e4',
    950: '#000000',
  },
}
SCSS
$custom: #d951e4;
$custom-light: #e88bed;
$custom-dark: #000000;
JSON
{
  "hex": "#d951e4",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 295.51,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.67081,
    "c": 0.23732,
    "h": 324.7
  },
  "luminance": 0.26238
}

Semantic roles & 50–950 ramp

primary
#D951E4
secondary
#B1E4AC
accent
#D5101F
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D951E4

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

Preview Lab → · Contrast checker → · Palette generator →

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