#DB54EB#DB54EB

#DB54EB is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 68.0% C 0.240 H 323.3°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#DB54EB
RGBrgb(219, 84, 235)
HSLhsl(294, 79%, 63%)
HSVhsv(294, 64%, 92%)
CMYKcmyk(6.8%, 64.3%, 0%, 7.8%)
CIE-LABlab(59.34, 71.68, -51.59)
CIE-LCHlch(59.34, 88.32, 324.26°)
OKLaboklab(68.04% 0.1927 -0.1435)
OKLCHoklch(68.04% 0.24 323.3)
XYZxyz(47.3777, 27.4015, 81.3747)
Luminance0.2740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB54EB #64EB54
analogous
#8F54EB #DB54EB #EB54B0
triadic
#DB54EB #EBDB54 #54EBDB
tetradic
#DB54EB #EB8F54 #64EB54 #54B0EB
square
#DB54EB #EB8F54 #64EB54 #54B0EB
split-complementary
#DB54EB #B0EB54 #54EB8F
monochromatic
#A015B0 #CF1DE5 #DB54EB #E78BF1 #F2C2F8

Accessibility & contrast

On white

3.24
#DB54EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#DB54EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB54EB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB54EB#FFFFFF#000000##000000
##DB54EB1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185EF
Deuteranopia (green-blind)
#6B94E7
Tritanopia (blue-blind)
#DE6C99
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #db54eb;
/* rgb */ color: rgb(219, 84, 235);
/* oklch */ color: oklch(68.0% 0.240 323.3);
Tailwind
colors: {
  custom: {
    50: '#ea8df2',
    500: '#db54eb',
    950: '#000000',
  },
}
SCSS
$custom: #db54eb;
$custom-light: #ea8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#db54eb",
  "rgb": {
    "r": 219,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 293.642,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68037,
    "c": 0.24029,
    "h": 323.3
  },
  "luminance": 0.27399
}

Semantic roles & 50–950 ramp

primary
#DB54EB
secondary
#B8E9B2
accent
#DB0A20
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D17
muted
#857E85

Preview Lab

Preview with #DB54EB

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

Preview Lab → · Contrast checker → · Palette generator →

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