#DB56E1#DB56E1

#DB56E1 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.7% C 0.229 H 326.0°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#DB56E1
RGBrgb(219, 86, 225)
HSLhsl(297, 70%, 61%)
HSVhsv(297, 62%, 88%)
CMYKcmyk(2.7%, 61.8%, 0%, 11.8%)
CIE-LABlab(59.12, 69.15, -46.35)
CIE-LCHlch(59.12, 83.25, 326.17°)
OKLaboklab(67.71% 0.1902 -0.1283)
OKLCHoklch(67.71% 0.229 326)
XYZxyz(46.1309, 27.1547, 74.0312)
Luminance0.2715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB56E1 #5CE156
analogous
#9556E1 #DB56E1 #E156A1
triadic
#DB56E1 #E1DB56 #56E1DB
tetradic
#DB56E1 #E19556 #5CE156 #56A1E1
square
#DB56E1 #E19556 #5CE156 #56A1E1
split-complementary
#DB56E1 #A1E156 #56E195
monochromatic
#9A1CA0 #CD26D4 #DB56E1 #E68AEA #F1BEF3

Accessibility & contrast

On white

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

On black

6.43
#DB56E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB56E1
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB56E1#FFFFFF#000000##000000
##DB56E11.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4084E5
Deuteranopia (green-blind)
#7294DD
Tritanopia (blue-blind)
#E06994
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #db56e1;
/* rgb */ color: rgb(219, 86, 225);
/* oklch */ color: oklch(67.7% 0.229 326.0);
Tailwind
colors: {
  custom: {
    50: '#e98eeb',
    500: '#db56e1',
    950: '#000000',
  },
}
SCSS
$custom: #db56e1;
$custom-light: #e98eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#db56e1",
  "rgb": {
    "r": 219,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 297.41,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.67706,
    "c": 0.22941,
    "h": 326
  },
  "luminance": 0.27152
}

Semantic roles & 50–950 ramp

primary
#DB56E1
secondary
#B1E4AF
accent
#D2141C
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DB56E1

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

Preview Lab → · Contrast checker → · Palette generator →

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