#D951DE#D951DE

#D951DE is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.8% C 0.232 H 326.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#D951DE
RGBrgb(217, 81, 222)
HSLhsl(298, 68%, 59%)
HSVhsv(298, 64%, 87%)
CMYKcmyk(2.3%, 63.5%, 0%, 12.9%)
CIE-LABlab(57.95, 70.18, -46.52)
CIE-LCHlch(57.95, 84.20, 326.46°)
OKLaboklab(66.76% 0.1935 -0.1288)
OKLCHoklch(66.76% 0.232 326.3)
XYZxyz(44.7417, 25.9133, 71.7383)
Luminance0.2591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951DE #56DE51
analogous
#9251DE #D951DE #DE519D
triadic
#D951DE #DED951 #51DED9
tetradic
#D951DE #DE9251 #56DE51 #519DDE
square
#D951DE #DE9251 #56DE51 #519DDE
split-complementary
#D951DE #9DDE51 #51DE92
monochromatic
#931D98 #C527CB #D951DE #E484E8 #EFB8F2

Accessibility & contrast

On white

3.40
#D951DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#D951DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951DE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951DE#FFFFFF#000000##000000
##D951DE1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A80E2
Deuteranopia (green-blind)
#6F91DA
Tritanopia (blue-blind)
#DF6591
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d951de;
/* rgb */ color: rgb(217, 81, 222);
/* oklch */ color: oklch(66.8% 0.232 326.3);
Tailwind
colors: {
  custom: {
    50: '#e88be9',
    500: '#d951de',
    950: '#000000',
  },
}
SCSS
$custom: #d951de;
$custom-light: #e88be9;
$custom-dark: #000000;
JSON
{
  "hex": "#d951de",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 297.872,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66757,
    "c": 0.23243,
    "h": 326.3
  },
  "luminance": 0.2591
}

Semantic roles & 50–950 ramp

primary
#D951DE
secondary
#ACE1AA
accent
#EB3D43
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D951DE

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

Preview Lab → · Contrast checker → · Palette generator →

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