#DB56E4#DB56E4

#DB56E4 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.9% C 0.232 H 325.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#DB56E4
RGBrgb(219, 86, 228)
HSLhsl(296, 72%, 62%)
HSVhsv(296, 62%, 89%)
CMYKcmyk(3.9%, 62.3%, 0%, 10.6%)
CIE-LABlab(59.27, 69.67, -47.80)
CIE-LCHlch(59.27, 84.49, 325.55°)
OKLaboklab(67.86% 0.1903 -0.1325)
OKLCHoklch(67.86% 0.232 325.1)
XYZxyz(46.5437, 27.3199, 76.2055)
Luminance0.2732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB56E4 #5FE456
analogous
#9456E4 #DB56E4 #E456A6
triadic
#DB56E4 #E4DB56 #56E4DB
tetradic
#DB56E4 #E49456 #5FE456 #56A6E4
square
#DB56E4 #E49456 #5FE456 #56A6E4
split-complementary
#DB56E4 #A6E456 #56E494
monochromatic
#9C1AA5 #CE23DA #DB56E4 #E68BEC #F1C0F5

Accessibility & contrast

On white

3.25
#DB56E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#DB56E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB56E4
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB56E4#FFFFFF#000000##000000
##DB56E41.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D84E8
Deuteranopia (green-blind)
#7094E0
Tritanopia (blue-blind)
#E06B96
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #db56e4;
/* rgb */ color: rgb(219, 86, 228);
/* oklch */ color: oklch(67.9% 0.232 325.1);
Tailwind
colors: {
  custom: {
    50: '#ea8eed',
    500: '#db56e4',
    950: '#000000',
  },
}
SCSS
$custom: #db56e4;
$custom-light: #ea8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#db56e4",
  "rgb": {
    "r": 219,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 296.197,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67865,
    "c": 0.2319,
    "h": 325.1
  },
  "luminance": 0.27317
}

Semantic roles & 50–950 ramp

primary
#DB56E4
secondary
#B4E5B0
accent
#D5111D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DB56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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