#D954E7#D954E7

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

Color values

HEX#D954E7
RGBrgb(217, 84, 231)
HSLhsl(294, 75%, 62%)
HSVhsv(294, 64%, 91%)
CMYKcmyk(6.1%, 63.6%, 0%, 9.4%)
CIE-LABlab(58.85, 70.53, -50.16)
CIE-LCHlch(58.85, 86.55, 324.58°)
OKLaboklab(67.55% 0.1904 -0.1394)
OKLCHoklch(67.55% 0.236 323.8)
XYZxyz(46.2081, 26.8645, 78.3373)
Luminance0.2686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D954E7 #62E754
analogous
#9054E7 #D954E7 #E754AC
triadic
#D954E7 #E7D954 #54E7D9
tetradic
#D954E7 #E79054 #62E754 #54ACE7
square
#D954E7 #E79054 #62E754 #54ACE7
split-complementary
#D954E7 #ACE754 #54E790
monochromatic
#9B18A9 #CC1FDF #D954E7 #E58AEF #F1BFF6

Accessibility & contrast

On white

3.30
#D954E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#D954E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D954E7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D954E7#FFFFFF#000000##000000
##D954E71.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3583EB
Deuteranopia (green-blind)
#6C93E3
Tritanopia (blue-blind)
#DD6B97
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d954e7;
/* rgb */ color: rgb(217, 84, 231);
/* oklch */ color: oklch(67.6% 0.236 323.8);
Tailwind
colors: {
  custom: {
    50: '#e88def',
    500: '#d954e7',
    950: '#000000',
  },
}
SCSS
$custom: #d954e7;
$custom-light: #e88def;
$custom-dark: #000000;
JSON
{
  "hex": "#d954e7",
  "rgb": {
    "r": 217,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 294.286,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67554,
    "c": 0.23601,
    "h": 323.8
  },
  "luminance": 0.26862
}

Semantic roles & 50–950 ramp

primary
#D954E7
secondary
#B5E7B0
accent
#D80E21
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D954E7

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

Preview Lab → · Contrast checker → · Palette generator →

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