#DB54E6#DB54E6

#DB54E6 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.8% C 0.236 H 324.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#DB54E6
RGBrgb(219, 84, 230)
HSLhsl(295, 74%, 62%)
HSVhsv(295, 63%, 90%)
CMYKcmyk(4.8%, 63.5%, 0%, 9.8%)
CIE-LABlab(59.08, 70.82, -49.21)
CIE-LCHlch(59.08, 86.24, 325.20°)
OKLaboklab(67.76% 0.1926 -0.1366)
OKLCHoklch(67.76% 0.236 324.7)
XYZxyz(46.6655, 27.1166, 77.6236)
Luminance0.2711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB54E6 #5FE654
analogous
#9254E6 #DB54E6 #E654A8
triadic
#DB54E6 #E6DB54 #54E6DB
tetradic
#DB54E6 #E69254 #5FE654 #54A8E6
square
#DB54E6 #E69254 #5FE654 #54A8E6
split-complementary
#DB54E6 #A8E654 #54E692
monochromatic
#9C18A7 #CE20DD #DB54E6 #E689EE #F1BFF6

Accessibility & contrast

On white

3.27
#DB54E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#DB54E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB54E6
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB54E6#FFFFFF#000000##000000
##DB54E61.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EA
Deuteranopia (green-blind)
#6E94E2
Tritanopia (blue-blind)
#DF6A96
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #db54e6;
/* rgb */ color: rgb(219, 84, 230);
/* oklch */ color: oklch(67.8% 0.236 324.7);
Tailwind
colors: {
  custom: {
    50: '#ea8dee',
    500: '#db54e6',
    950: '#000000',
  },
}
SCSS
$custom: #db54e6;
$custom-light: #ea8dee;
$custom-dark: #000000;
JSON
{
  "hex": "#db54e6",
  "rgb": {
    "r": 219,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 295.479,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67763,
    "c": 0.23614,
    "h": 324.7
  },
  "luminance": 0.27114
}

Semantic roles & 50–950 ramp

primary
#DB54E6
secondary
#B4E6B0
accent
#D70F1E
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DB54E6

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

Preview Lab → · Contrast checker → · Palette generator →

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