#DB54DC#DB54DC

#DB54DC is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.2% C 0.228 H 327.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#DB54DC
RGBrgb(219, 84, 220)
HSLhsl(300, 66%, 60%)
HSVhsv(300, 62%, 86%)
CMYKcmyk(0.5%, 61.8%, 0%, 13.7%)
CIE-LABlab(58.58, 69.12, -44.40)
CIE-LCHlch(58.58, 82.15, 327.29°)
OKLaboklab(67.23% 0.1921 -0.1226)
OKLCHoklch(67.23% 0.228 327.4)
XYZxyz(45.3013, 26.5710, 70.4389)
Luminance0.2657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB54DC #55DC54
analogous
#9754DC #DB54DC #DC5499
triadic
#DB54DC #DCDB54 #54DCDB
tetradic
#DB54DC #DC9754 #55DC54 #5499DC
square
#DB54DC #DC9754 #55DC54 #5499DC
split-complementary
#DB54DC #99DC54 #54DC97
monochromatic
#961F97 #C829CA #DB54DC #E687E6 #F0BAF1

Accessibility & contrast

On white

3.33
#DB54DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#DB54DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB54DC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB54DC#FFFFFF#000000##000000
##DB54DC1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E0
Deuteranopia (green-blind)
#7493D8
Tritanopia (blue-blind)
#E16691
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #db54dc;
/* rgb */ color: rgb(219, 84, 220);
/* oklch */ color: oklch(67.2% 0.228 327.4);
Tailwind
colors: {
  custom: {
    50: '#e98de7',
    500: '#db54dc',
    950: '#000000',
  },
}
SCSS
$custom: #db54dc;
$custom-light: #e98de7;
$custom-dark: #000000;
JSON
{
  "hex": "#db54dc",
  "rgb": {
    "r": 219,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 299.559,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.67232,
    "c": 0.22796,
    "h": 327.4
  },
  "luminance": 0.26568
}

Semantic roles & 50–950 ramp

primary
#DB54DC
secondary
#ACE0AC
accent
#E93F40
background
#FEF9FE
surface
#FDF1FC
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DB54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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