#D954EB#D954EB

#D954EB is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.8% C 0.239 H 322.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#D954EB
RGBrgb(217, 84, 235)
HSLhsl(293, 79%, 63%)
HSVhsv(293, 64%, 92%)
CMYKcmyk(7.7%, 64.3%, 0%, 7.8%)
CIE-LABlab(59.06, 71.23, -52.06)
CIE-LCHlch(59.06, 88.23, 323.84°)
OKLaboklab(67.77% 0.1905 -0.145)
OKLCHoklch(67.77% 0.239 322.7)
XYZxyz(46.7795, 27.0931, 81.3466)
Luminance0.2709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D954EB #66EB54
analogous
#8E54EB #D954EB #EB54B1
triadic
#D954EB #EBD954 #54EBD9
tetradic
#D954EB #EB8E54 #66EB54 #54B1EB
square
#D954EB #EB8E54 #66EB54 #54B1EB
split-complementary
#D954EB #B1EB54 #54EB8E
monochromatic
#9D15B0 #CD1DE5 #D954EB #E58BF1 #F1C2F8

Accessibility & contrast

On white

3.27
#D954EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#D954EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D954EB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D954EB#FFFFFF#000000##000000
##D954EB1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EF
Deuteranopia (green-blind)
#6993E7
Tritanopia (blue-blind)
#DC6C99
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d954eb;
/* rgb */ color: rgb(217, 84, 235);
/* oklch */ color: oklch(67.8% 0.239 322.7);
Tailwind
colors: {
  custom: {
    50: '#e88df2',
    500: '#d954eb',
    950: '#000000',
  },
}
SCSS
$custom: #d954eb;
$custom-light: #e88df2;
$custom-dark: #000000;
JSON
{
  "hex": "#d954eb",
  "rgb": {
    "r": 217,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 292.848,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.67775,
    "c": 0.23938,
    "h": 322.7
  },
  "luminance": 0.27091
}

Semantic roles & 50–950 ramp

primary
#D954EB
secondary
#B8E9B2
accent
#DB0A23
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D954EB

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

Preview Lab → · Contrast checker → · Palette generator →

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