#DB56E6#DB56E6

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

Color values

HEX#DB56E6
RGBrgb(219, 86, 230)
HSLhsl(295, 74%, 62%)
HSVhsv(295, 63%, 90%)
CMYKcmyk(4.8%, 62.6%, 0%, 9.8%)
CIE-LABlab(59.37, 70.01, -48.75)
CIE-LCHlch(59.37, 85.32, 325.15°)
OKLaboklab(67.97% 0.1904 -0.1353)
OKLCHoklch(67.97% 0.234 324.6)
XYZxyz(46.8230, 27.4316, 77.6761)
Luminance0.2743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB56E6 #61E656
analogous
#9356E6 #DB56E6 #E656A9
triadic
#DB56E6 #E6DB56 #56E6DB
tetradic
#DB56E6 #E69356 #61E656 #56A9E6
square
#DB56E6 #E69356 #61E656 #56A9E6
split-complementary
#DB56E6 #A9E656 #56E693
monochromatic
#9E19A9 #D021DE #DB56E6 #E68BEE #F2C1F6

Accessibility & contrast

On white

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

On black

6.49
#DB56E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB56E6
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB56E6#FFFFFF#000000##000000
##DB56E61.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EA
Deuteranopia (green-blind)
#6F95E2
Tritanopia (blue-blind)
#DF6B97
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #db56e6;
/* rgb */ color: rgb(219, 86, 230);
/* oklch */ color: oklch(68.0% 0.234 324.6);
Tailwind
colors: {
  custom: {
    50: '#ea8eee',
    500: '#db56e6',
    950: '#000000',
  },
}
SCSS
$custom: #db56e6;
$custom-light: #ea8eee;
$custom-dark: #000000;
JSON
{
  "hex": "#db56e6",
  "rgb": {
    "r": 219,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 295.417,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67972,
    "c": 0.23356,
    "h": 324.6
  },
  "luminance": 0.27429
}

Semantic roles & 50–950 ramp

primary
#DB56E6
secondary
#B5E6B1
accent
#D60F1E
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DB56E6

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

Preview Lab → · Contrast checker → · Palette generator →

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