#D951E3#D951E3

#D951E3 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.0% C 0.236 H 325.0°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#D951E3
RGBrgb(217, 81, 227)
HSLhsl(296, 72%, 60%)
HSVhsv(296, 64%, 89%)
CMYKcmyk(4.4%, 64.3%, 0%, 11%)
CIE-LABlab(58.21, 71.03, -48.93)
CIE-LCHlch(58.21, 86.25, 325.44°)
OKLaboklab(67.03% 0.1936 -0.1358)
OKLCHoklch(67.03% 0.237 325)
XYZxyz(45.4217, 26.1854, 75.3200)
Luminance0.2618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951E3 #5BE351
analogous
#9051E3 #D951E3 #E351A4
triadic
#D951E3 #E3D951 #51E3D9
tetradic
#D951E3 #E39051 #5BE351 #51A4E3
square
#D951E3 #E39051 #5BE351 #51A4E3
split-complementary
#D951E3 #A4E351 #51E390
monochromatic
#971AA0 #C822D5 #D951E3 #E586EB #F0BAF4

Accessibility & contrast

On white

3.37
#D951E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#D951E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951E3
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951E3#FFFFFF#000000##000000
##D951E31.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3481E7
Deuteranopia (green-blind)
#6C92DF
Tritanopia (blue-blind)
#DE6793
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d951e3;
/* rgb */ color: rgb(217, 81, 227);
/* oklch */ color: oklch(67.0% 0.236 325.0);
Tailwind
colors: {
  custom: {
    50: '#e88bec',
    500: '#d951e3',
    950: '#000000',
  },
}
SCSS
$custom: #d951e3;
$custom-light: #e88bec;
$custom-dark: #000000;
JSON
{
  "hex": "#d951e3",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 295.89,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.67027,
    "c": 0.2365,
    "h": 325
  },
  "luminance": 0.26183
}

Semantic roles & 50–950 ramp

primary
#D951E3
secondary
#B0E4AC
accent
#D4111F
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D951E3

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

Preview Lab → · Contrast checker → · Palette generator →

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