#DB54E3#DB54E3

#DB54E3 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.6% C 0.234 H 325.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#DB54E3
RGBrgb(219, 84, 227)
HSLhsl(297, 72%, 61%)
HSVhsv(297, 63%, 89%)
CMYKcmyk(3.5%, 63%, 0%, 11%)
CIE-LABlab(58.93, 70.30, -47.78)
CIE-LCHlch(58.93, 85.00, 325.80°)
OKLaboklab(67.6% 0.1925 -0.1324)
OKLCHoklch(67.6% 0.234 325.5)
XYZxyz(46.2479, 26.9496, 75.4240)
Luminance0.2695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB54E3 #5CE354
analogous
#9354E3 #DB54E3 #E354A3
triadic
#DB54E3 #E3DB54 #54E3DB
tetradic
#DB54E3 #E39354 #5CE354 #54A3E3
square
#DB54E3 #E39354 #5CE354 #54A3E3
split-complementary
#DB54E3 #A3E354 #54E393
monochromatic
#9A1BA2 #CD23D7 #DB54E3 #E689EC #F1BDF4

Accessibility & contrast

On white

3.29
#DB54E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#DB54E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB54E3
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB54E3#FFFFFF#000000##000000
##DB54E31.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B83E7
Deuteranopia (green-blind)
#7094DF
Tritanopia (blue-blind)
#E06994
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #db54e3;
/* rgb */ color: rgb(219, 84, 227);
/* oklch */ color: oklch(67.6% 0.234 325.5);
Tailwind
colors: {
  custom: {
    50: '#ea8dec',
    500: '#db54e3',
    950: '#000000',
  },
}
SCSS
$custom: #db54e3;
$custom-light: #ea8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#db54e3",
  "rgb": {
    "r": 219,
    "g": 84,
    "b": 227
  },
  "hsl": {
    "h": 296.643,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67601,
    "c": 0.23366,
    "h": 325.5
  },
  "luminance": 0.26947
}

Semantic roles & 50–950 ramp

primary
#DB54E3
secondary
#B1E4AE
accent
#D4121C
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DB54E3

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

Preview Lab → · Contrast checker → · Palette generator →

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