#DB56EC#DB56EC

#DB56EC is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.3% C 0.239 H 323.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#DB56EC
RGBrgb(219, 86, 236)
HSLhsl(293, 80%, 63%)
HSVhsv(293, 64%, 93%)
CMYKcmyk(7.2%, 63.6%, 0%, 7.5%)
CIE-LABlab(59.68, 71.06, -51.61)
CIE-LCHlch(59.68, 87.83, 324.01°)
OKLaboklab(68.3% 0.1905 -0.1436)
OKLCHoklch(68.3% 0.239 323)
XYZxyz(47.6801, 27.7744, 82.1902)
Luminance0.2777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB56EC #67EC56
analogous
#9056EC #DB56EC #EC56B2
triadic
#DB56EC #ECDB56 #56ECDB
tetradic
#DB56EC #EC9056 #67EC56 #56B2EC
square
#DB56EC #EC9056 #67EC56 #56B2EC
split-complementary
#DB56EC #B2EC56 #56EC90
monochromatic
#A114B3 #CF1FE6 #DB56EC #E78DF2 #F2C4F8

Accessibility & contrast

On white

3.20
#DB56EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#DB56EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB56EC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB56EC#FFFFFF#000000##000000
##DB56EC1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#6C95E8
Tritanopia (blue-blind)
#DE6E9A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #db56ec;
/* rgb */ color: rgb(219, 86, 236);
/* oklch */ color: oklch(68.3% 0.239 323.0);
Tailwind
colors: {
  custom: {
    50: '#ea8ef3',
    500: '#db56ec',
    950: '#000000',
  },
}
SCSS
$custom: #db56ec;
$custom-light: #ea8ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#db56ec",
  "rgb": {
    "r": 219,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 293.2,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.683,
    "c": 0.2386,
    "h": 323
  },
  "luminance": 0.27772
}

Semantic roles & 50–950 ramp

primary
#DB56EC
secondary
#BAEAB4
accent
#DC0921
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D17
muted
#857E85

Preview Lab

Preview with #DB56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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