#D951E1#D951E1

#D951E1 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.9% C 0.235 H 325.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#D951E1
RGBrgb(217, 81, 225)
HSLhsl(297, 71%, 60%)
HSVhsv(297, 64%, 88%)
CMYKcmyk(3.6%, 64%, 0%, 11.8%)
CIE-LABlab(58.11, 70.69, -47.97)
CIE-LCHlch(58.11, 85.43, 325.84°)
OKLaboklab(66.92% 0.1936 -0.133)
OKLCHoklch(66.92% 0.235 325.5)
XYZxyz(45.1473, 26.0756, 73.8747)
Luminance0.2607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951E1 #59E151
analogous
#9151E1 #D951E1 #E151A1
triadic
#D951E1 #E1D951 #51E1D9
tetradic
#D951E1 #E19151 #59E151 #51A1E1
square
#D951E1 #E19151 #59E151 #51A1E1
split-complementary
#D951E1 #A1E151 #51E191
monochromatic
#951B9D #C724D1 #D951E1 #E485EA #F0B9F3

Accessibility & contrast

On white

3.38
#D951E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#D951E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951E1
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951E1#FFFFFF#000000##000000
##D951E11.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3781E5
Deuteranopia (green-blind)
#6D92DD
Tritanopia (blue-blind)
#DE6692
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d951e1;
/* rgb */ color: rgb(217, 81, 225);
/* oklch */ color: oklch(66.9% 0.235 325.5);
Tailwind
colors: {
  custom: {
    50: '#e88beb',
    500: '#d951e1',
    950: '#000000',
  },
}
SCSS
$custom: #d951e1;
$custom-light: #e88beb;
$custom-dark: #000000;
JSON
{
  "hex": "#d951e1",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 296.667,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.66918,
    "c": 0.23487,
    "h": 325.5
  },
  "luminance": 0.26073
}

Semantic roles & 50–950 ramp

primary
#D951E1
secondary
#AEE3AB
accent
#ED3A44
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D951E1

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

Preview Lab → · Contrast checker → · Palette generator →

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