#DB54E4#DB54E4

#DB54E4 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.7% C 0.234 H 325.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#DB54E4
RGBrgb(219, 84, 228)
HSLhsl(296, 73%, 61%)
HSVhsv(296, 63%, 89%)
CMYKcmyk(3.9%, 63.2%, 0%, 10.6%)
CIE-LABlab(58.98, 70.47, -48.26)
CIE-LCHlch(58.98, 85.41, 325.60°)
OKLaboklab(67.66% 0.1925 -0.1338)
OKLCHoklch(67.66% 0.234 325.2)
XYZxyz(46.3863, 27.0050, 76.1530)
Luminance0.2700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB54E4 #5DE454
analogous
#9354E4 #DB54E4 #E454A5
triadic
#DB54E4 #E4DB54 #54E4DB
tetradic
#DB54E4 #E49354 #5DE454 #54A5E4
square
#DB54E4 #E49354 #5DE454 #54A5E4
split-complementary
#DB54E4 #A5E454 #54E493
monochromatic
#9B1AA4 #CD22D9 #DB54E4 #E689EC #F1BEF5

Accessibility & contrast

On white

3.28
#DB54E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#DB54E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB54E4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB54E4#FFFFFF#000000##000000
##DB54E41.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A83E8
Deuteranopia (green-blind)
#6F94E0
Tritanopia (blue-blind)
#E06995
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #db54e4;
/* rgb */ color: rgb(219, 84, 228);
/* oklch */ color: oklch(67.7% 0.234 325.2);
Tailwind
colors: {
  custom: {
    50: '#ea8ded',
    500: '#db54e4',
    950: '#000000',
  },
}
SCSS
$custom: #db54e4;
$custom-light: #ea8ded;
$custom-dark: #000000;
JSON
{
  "hex": "#db54e4",
  "rgb": {
    "r": 219,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 296.25,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67655,
    "c": 0.23449,
    "h": 325.2
  },
  "luminance": 0.27002
}

Semantic roles & 50–950 ramp

primary
#DB54E4
secondary
#B2E5AF
accent
#D5111D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DB54E4

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

Preview Lab → · Contrast checker → · Palette generator →

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