#D954EA#D954EA

#D954EA is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.7% C 0.239 H 323.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#D954EA
RGBrgb(217, 84, 234)
HSLhsl(293, 78%, 62%)
HSVhsv(293, 64%, 92%)
CMYKcmyk(7.3%, 64.1%, 0%, 8.2%)
CIE-LABlab(59.01, 71.06, -51.59)
CIE-LCHlch(59.01, 87.81, 324.02°)
OKLaboklab(67.72% 0.1905 -0.1436)
OKLCHoklch(67.72% 0.239 323)
XYZxyz(46.6354, 27.0355, 80.5879)
Luminance0.2703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D954EA #65EA54
analogous
#8E54EA #D954EA #EA54B0
triadic
#D954EA #EAD954 #54EAD9
tetradic
#D954EA #EA8E54 #65EA54 #54B0EA
square
#D954EA #EA8E54 #65EA54 #54B0EA
split-complementary
#D954EA #B0EA54 #54EA8E
monochromatic
#9D15AE #CD1DE3 #D954EA #E58BF1 #F1C1F7

Accessibility & contrast

On white

3.28
#D954EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#D954EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D954EA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D954EA#FFFFFF#000000##000000
##D954EA1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EE
Deuteranopia (green-blind)
#6A93E6
Tritanopia (blue-blind)
#DC6C98
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d954ea;
/* rgb */ color: rgb(217, 84, 234);
/* oklch */ color: oklch(67.7% 0.239 323.0);
Tailwind
colors: {
  custom: {
    50: '#e88df1',
    500: '#d954ea',
    950: '#000000',
  },
}
SCSS
$custom: #d954ea;
$custom-light: #e88df1;
$custom-dark: #000000;
JSON
{
  "hex": "#d954ea",
  "rgb": {
    "r": 217,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 293.2,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67719,
    "c": 0.23853,
    "h": 323
  },
  "luminance": 0.27033
}

Semantic roles & 50–950 ramp

primary
#D954EA
secondary
#B8E8B2
accent
#DA0B23
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D954EA

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

Preview Lab → · Contrast checker → · Palette generator →

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