#D954E8#D954E8

#D954E8 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.6% C 0.237 H 323.5°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#D954E8
RGBrgb(217, 84, 232)
HSLhsl(294, 76%, 62%)
HSVhsv(294, 64%, 91%)
CMYKcmyk(6.5%, 63.8%, 0%, 9%)
CIE-LABlab(58.90, 70.71, -50.64)
CIE-LCHlch(58.90, 86.97, 324.39°)
OKLaboklab(67.61% 0.1905 -0.1408)
OKLCHoklch(67.61% 0.237 323.5)
XYZxyz(46.3497, 26.9212, 79.0832)
Luminance0.2692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D954E8 #63E854
analogous
#8F54E8 #D954E8 #E854AD
triadic
#D954E8 #E8D954 #54E8D9
tetradic
#D954E8 #E88F54 #63E854 #54ADE8
square
#D954E8 #E88F54 #63E854 #54ADE8
split-complementary
#D954E8 #ADE854 #54E88F
monochromatic
#9C17AB #CD1EE1 #D954E8 #E58AEF #F1C0F7

Accessibility & contrast

On white

3.29
#D954E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#D954E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D954E8
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D954E8#FFFFFF#000000##000000
##D954E81.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3384EC
Deuteranopia (green-blind)
#6B93E4
Tritanopia (blue-blind)
#DD6B97
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d954e8;
/* rgb */ color: rgb(217, 84, 232);
/* oklch */ color: oklch(67.6% 0.237 323.5);
Tailwind
colors: {
  custom: {
    50: '#e88df0',
    500: '#d954e8',
    950: '#000000',
  },
}
SCSS
$custom: #d954e8;
$custom-light: #e88df0;
$custom-dark: #000000;
JSON
{
  "hex": "#d954e8",
  "rgb": {
    "r": 217,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 293.919,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67609,
    "c": 0.23685,
    "h": 323.5
  },
  "luminance": 0.26919
}

Semantic roles & 50–950 ramp

primary
#D954E8
secondary
#B6E7B1
accent
#D80D22
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D954E8

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

Preview Lab → · Contrast checker → · Palette generator →

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