#D54EF9#D54EF9

#D54EF9 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.5% C 0.257 H 318.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#D54EF9
RGBrgb(213, 78, 249)
HSLhsl(287, 93%, 64%)
HSVhsv(287, 69%, 98%)
CMYKcmyk(14.5%, 68.7%, 0%, 2.4%)
CIE-LABlab(58.45, 75.22, -60.87)
CIE-LCHlch(58.45, 96.76, 321.02°)
OKLaboklab(67.47% 0.1918 -0.1707)
OKLCHoklch(67.47% 0.257 318.3)
XYZxyz(47.2615, 26.4366, 92.2175)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54EF9 #72F94E
analogous
#7F4EF9 #D54EF9 #F94EC8
triadic
#D54EF9 #F9D54E #4EF9D5
tetradic
#D54EF9 #F97F4E #72F94E #4EC8F9
square
#D54EF9 #F97F4E #72F94E #4EC8F9
split-complementary
#D54EF9 #C8F94E #4EF97F
monochromatic
#9E07C6 #C713F7 #D54EF9 #E389FB #F1C4FD

Accessibility & contrast

On white

3.34
#D54EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#D54EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54EF9
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54EF9#FFFFFF#000000##000000
##D54EF91.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FE
Deuteranopia (green-blind)
#5691F5
Tritanopia (blue-blind)
#D46F9E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d54ef9;
/* rgb */ color: rgb(213, 78, 249);
/* oklch */ color: oklch(67.5% 0.257 318.3);
Tailwind
colors: {
  custom: {
    50: '#e68afc',
    500: '#d54ef9',
    950: '#000000',
  },
}
SCSS
$custom: #d54ef9;
$custom-light: #e68afc;
$custom-dark: #000000;
JSON
{
  "hex": "#d54ef9",
  "rgb": {
    "r": 213,
    "g": 78,
    "b": 249
  },
  "hsl": {
    "h": 287.368,
    "s": 93.443,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67474,
    "c": 0.25681,
    "h": 318.3
  },
  "luminance": 0.26434
}

Semantic roles & 50–950 ramp

primary
#D54EF9
secondary
#C0EFB4
accent
#E60030
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D54EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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