#DB54E7#DB54E7

#DB54E7 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.8% C 0.237 H 324.4°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#DB54E7
RGBrgb(219, 84, 231)
HSLhsl(295, 75%, 62%)
HSVhsv(295, 64%, 91%)
CMYKcmyk(5.2%, 63.6%, 0%, 9.4%)
CIE-LABlab(59.13, 70.99, -49.69)
CIE-LCHlch(59.13, 86.65, 325.01°)
OKLaboklab(67.82% 0.1926 -0.138)
OKLCHoklch(67.82% 0.237 324.4)
XYZxyz(46.8063, 27.1730, 78.3653)
Luminance0.2717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB54E7 #60E754
analogous
#9254E7 #DB54E7 #E754AA
triadic
#DB54E7 #E7DB54 #54E7DB
tetradic
#DB54E7 #E79254 #60E754 #54AAE7
square
#DB54E7 #E79254 #60E754 #54AAE7
split-complementary
#DB54E7 #AAE754 #54E792
monochromatic
#9D18A9 #CF1FDF #DB54E7 #E68AEF #F2BFF6

Accessibility & contrast

On white

3.26
#DB54E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#DB54E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB54E7
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB54E7#FFFFFF#000000##000000
##DB54E71.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EB
Deuteranopia (green-blind)
#6D94E3
Tritanopia (blue-blind)
#DF6A97
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #db54e7;
/* rgb */ color: rgb(219, 84, 231);
/* oklch */ color: oklch(67.8% 0.237 324.4);
Tailwind
colors: {
  custom: {
    50: '#ea8def',
    500: '#db54e7',
    950: '#000000',
  },
}
SCSS
$custom: #db54e7;
$custom-light: #ea8def;
$custom-dark: #000000;
JSON
{
  "hex": "#db54e7",
  "rgb": {
    "r": 219,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 295.102,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67817,
    "c": 0.23697,
    "h": 324.4
  },
  "luminance": 0.2717
}

Semantic roles & 50–950 ramp

primary
#DB54E7
secondary
#B5E7B0
accent
#D80E1E
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DB54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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