#DB56E2#DB56E2

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

Color values

HEX#DB56E2
RGBrgb(219, 86, 226)
HSLhsl(297, 71%, 61%)
HSVhsv(297, 62%, 89%)
CMYKcmyk(3.1%, 61.9%, 0%, 11.4%)
CIE-LABlab(59.17, 69.32, -46.84)
CIE-LCHlch(59.17, 83.66, 325.96°)
OKLaboklab(67.76% 0.1902 -0.1297)
OKLCHoklch(67.76% 0.23 325.7)
XYZxyz(46.2677, 27.2095, 74.7517)
Luminance0.2721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB56E2 #5DE256
analogous
#9556E2 #DB56E2 #E256A3
triadic
#DB56E2 #E2DB56 #56E2DB
tetradic
#DB56E2 #E29556 #5DE256 #56A3E2
square
#DB56E2 #E29556 #5DE256 #56A3E2
split-complementary
#DB56E2 #A3E256 #56E295
monochromatic
#9B1CA2 #CD25D6 #DB56E2 #E68AEB #F1BEF4

Accessibility & contrast

On white

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

On black

6.44
#DB56E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB56E2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB56E2#FFFFFF#000000##000000
##DB56E21.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F84E6
Deuteranopia (green-blind)
#7294DE
Tritanopia (blue-blind)
#E06A95
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #db56e2;
/* rgb */ color: rgb(219, 86, 226);
/* oklch */ color: oklch(67.8% 0.230 325.7);
Tailwind
colors: {
  custom: {
    50: '#e98eeb',
    500: '#db56e2',
    950: '#000000',
  },
}
SCSS
$custom: #db56e2;
$custom-light: #e98eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#db56e2",
  "rgb": {
    "r": 219,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 297,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67759,
    "c": 0.23024,
    "h": 325.7
  },
  "luminance": 0.27207
}

Semantic roles & 50–950 ramp

primary
#DB56E2
secondary
#B2E4B0
accent
#D3131C
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DB56E2

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

Preview Lab → · Contrast checker → · Palette generator →

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