#D54DEC#D54DEC

#D54DEC is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.6% C 0.247 H 321.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#D54DEC
RGBrgb(213, 77, 236)
HSLhsl(291, 81%, 61%)
HSVhsv(291, 67%, 93%)
CMYKcmyk(9.7%, 67.4%, 0%, 7.5%)
CIE-LABlab(57.57, 73.25, -55.03)
CIE-LCHlch(57.57, 91.62, 323.09°)
OKLaboklab(66.61% 0.1934 -0.1537)
OKLCHoklch(66.61% 0.247 321.5)
XYZxyz(45.2331, 25.5124, 81.8824)
Luminance0.2551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54DEC #64EC4D
analogous
#864DEC #D54DEC #EC4DB4
triadic
#D54DEC #ECD54D #4DECD5
tetradic
#D54DEC #EC864D #64EC4D #4DB4EC
square
#D54DEC #EC864D #64EC4D #4DB4EC
split-complementary
#D54DEC #B4EC4D #4DEC86
monochromatic
#9612AC #C618E4 #D54DEC #E284F2 #EFBCF8

Accessibility & contrast

On white

3.44
#D54DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#D54DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54DEC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54DEC#FFFFFF#000000##000000
##D54DEC1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1581F1
Deuteranopia (green-blind)
#608FE8
Tritanopia (blue-blind)
#D76997
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d54dec;
/* rgb */ color: rgb(213, 77, 236);
/* oklch */ color: oklch(66.6% 0.247 321.5);
Tailwind
colors: {
  custom: {
    50: '#e689f3',
    500: '#d54dec',
    950: '#000000',
  },
}
SCSS
$custom: #d54dec;
$custom-light: #e689f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d54dec",
  "rgb": {
    "r": 213,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 291.321,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66606,
    "c": 0.24702,
    "h": 321.5
  },
  "luminance": 0.2551
}

Semantic roles & 50–950 ramp

primary
#D54DEC
secondary
#B5E8AD
accent
#DD0827
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #D54DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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