#D54FD8#D54FD8

#D54FD8 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.7% C 0.228 H 326.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#D54FD8
RGBrgb(213, 79, 216)
HSLhsl(299, 64%, 58%)
HSVhsv(299, 63%, 85%)
CMYKcmyk(1.4%, 63.4%, 0%, 15.3%)
CIE-LABlab(56.78, 69.02, -45.03)
CIE-LCHlch(56.78, 82.41, 326.88°)
OKLaboklab(65.69% 0.1911 -0.1246)
OKLCHoklch(65.69% 0.228 326.9)
XYZxyz(42.6305, 24.6987, 67.4744)
Luminance0.2470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FD8 #52D84F
analogous
#904FD8 #D54FD8 #D84F96
triadic
#D54FD8 #D8D54F #4FD8D5
tetradic
#D54FD8 #D8904F #52D84F #4F96D8
square
#D54FD8 #D8904F #52D84F #4F96D8
split-complementary
#D54FD8 #96D84F #4FD890
monochromatic
#8B1F8D #BC2ABF #D54FD8 #E181E3 #EDB3EE

Accessibility & contrast

On white

3.54
#D54FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#D54FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FD8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FD8#FFFFFF#000000##000000
##D54FD81.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7DDC
Deuteranopia (green-blind)
#6E8ED4
Tritanopia (blue-blind)
#DB628D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d54fd8;
/* rgb */ color: rgb(213, 79, 216);
/* oklch */ color: oklch(65.7% 0.228 326.9);
Tailwind
colors: {
  custom: {
    50: '#e58ae4',
    500: '#d54fd8',
    950: '#000000',
  },
}
SCSS
$custom: #d54fd8;
$custom-light: #e58ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fd8",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 298.686,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.65692,
    "c": 0.2281,
    "h": 326.9
  },
  "luminance": 0.24696
}

Semantic roles & 50–950 ramp

primary
#D54FD8
secondary
#A7DDA6
accent
#E74145
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D54FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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