#D54FE6#D54FE6

#D54FE6 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.5% C 0.240 H 323.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#D54FE6
RGBrgb(213, 79, 230)
HSLhsl(293, 75%, 61%)
HSVhsv(293, 66%, 90%)
CMYKcmyk(7.4%, 65.7%, 0%, 9.8%)
CIE-LABlab(57.51, 71.43, -51.76)
CIE-LCHlch(57.51, 88.21, 324.07°)
OKLaboklab(66.46% 0.1914 -0.1441)
OKLCHoklch(66.46% 0.24 323)
XYZxyz(44.5181, 25.4538, 77.4158)
Luminance0.2545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FE6 #60E64F
analogous
#894FE6 #D54FE6 #E64FAB
triadic
#D54FE6 #E6D54F #4FE6D5
tetradic
#D54FE6 #E6894F #60E64F #4FABE6
square
#D54FE6 #E6894F #60E64F #4FABE6
split-complementary
#D54FE6 #ABE64F #4FE689
monochromatic
#9417A3 #C41FD9 #D54FE6 #E285EE #EFBAF5

Accessibility & contrast

On white

3.45
#D54FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#D54FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FE6
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FE6#FFFFFF#000000##000000
##D54FE61.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2880EA
Deuteranopia (green-blind)
#658FE2
Tritanopia (blue-blind)
#D86894
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d54fe6;
/* rgb */ color: rgb(213, 79, 230);
/* oklch */ color: oklch(66.5% 0.240 323.0);
Tailwind
colors: {
  custom: {
    50: '#e68aee',
    500: '#d54fe6',
    950: '#000000',
  },
}
SCSS
$custom: #d54fe6;
$custom-light: #e68aee;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fe6",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 293.245,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66459,
    "c": 0.23961,
    "h": 323
  },
  "luminance": 0.25451
}

Semantic roles & 50–950 ramp

primary
#D54FE6
secondary
#B2E5AC
accent
#D70E25
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D54FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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