#D54FE3#D54FE3

#D54FE3 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.3% C 0.237 H 323.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#D54FE3
RGBrgb(213, 79, 227)
HSLhsl(294, 73%, 60%)
HSVhsv(294, 65%, 89%)
CMYKcmyk(6.2%, 65.2%, 0%, 11%)
CIE-LABlab(57.35, 70.90, -50.33)
CIE-LCHlch(57.35, 86.95, 324.63°)
OKLaboklab(66.29% 0.1914 -0.14)
OKLCHoklch(66.29% 0.237 323.8)
XYZxyz(44.1004, 25.2867, 75.2161)
Luminance0.2528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FE3 #5DE34F
analogous
#8B4FE3 #D54FE3 #E34FA7
triadic
#D54FE3 #E3D54F #4FE3D5
tetradic
#D54FE3 #E38B4F #5DE34F #4FA7E3
square
#D54FE3 #E38B4F #5DE34F #4FA7E3
split-complementary
#D54FE3 #A7E34F #4FE38B
monochromatic
#92199E #C222D3 #D54FE3 #E284EB #EEB9F4

Accessibility & contrast

On white

3.47
#D54FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#D54FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FE3
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FE3#FFFFFF#000000##000000
##D54FE31.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7FE7
Deuteranopia (green-blind)
#678FDF
Tritanopia (blue-blind)
#D96693
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d54fe3;
/* rgb */ color: rgb(213, 79, 227);
/* oklch */ color: oklch(66.3% 0.237 323.8);
Tailwind
colors: {
  custom: {
    50: '#e58aec',
    500: '#d54fe3',
    950: '#000000',
  },
}
SCSS
$custom: #d54fe3;
$custom-light: #e58aec;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fe3",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 294.324,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.66291,
    "c": 0.23711,
    "h": 323.8
  },
  "luminance": 0.25284
}

Semantic roles & 50–950 ramp

primary
#D54FE3
secondary
#B0E3AA
accent
#EF394A
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D54FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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