#DB56E7#DB56E7

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

Color values

HEX#DB56E7
RGBrgb(219, 86, 231)
HSLhsl(295, 75%, 62%)
HSVhsv(295, 63%, 91%)
CMYKcmyk(5.2%, 62.8%, 0%, 9.4%)
CIE-LABlab(59.42, 70.19, -49.23)
CIE-LCHlch(59.42, 85.73, 324.95°)
OKLaboklab(68.03% 0.1904 -0.1367)
OKLCHoklch(68.03% 0.234 324.3)
XYZxyz(46.9638, 27.4879, 78.4178)
Luminance0.2748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB56E7 #62E756
analogous
#9256E7 #DB56E7 #E756AB
triadic
#DB56E7 #E7DB56 #56E7DB
tetradic
#DB56E7 #E79256 #62E756 #56ABE7
square
#DB56E7 #E79256 #62E756 #56ABE7
split-complementary
#DB56E7 #ABE756 #56E792
monochromatic
#9E18AA #D020DF #DB56E7 #E68CEF #F2C1F6

Accessibility & contrast

On white

3.23
#DB56E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#DB56E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB56E7
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB56E7#FFFFFF#000000##000000
##DB56E71.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A85EB
Deuteranopia (green-blind)
#6F95E3
Tritanopia (blue-blind)
#DF6C97
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #db56e7;
/* rgb */ color: rgb(219, 86, 231);
/* oklch */ color: oklch(68.0% 0.234 324.3);
Tailwind
colors: {
  custom: {
    50: '#ea8eef',
    500: '#db56e7',
    950: '#000000',
  },
}
SCSS
$custom: #db56e7;
$custom-light: #ea8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#db56e7",
  "rgb": {
    "r": 219,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 295.034,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68026,
    "c": 0.23439,
    "h": 324.3
  },
  "luminance": 0.27485
}

Semantic roles & 50–950 ramp

primary
#DB56E7
secondary
#B6E7B2
accent
#D70E1F
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DB56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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