#DB56E3#DB56E3

#DB56E3 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.8% C 0.231 H 325.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#DB56E3
RGBrgb(219, 86, 227)
HSLhsl(297, 72%, 61%)
HSVhsv(297, 62%, 89%)
CMYKcmyk(3.5%, 62.1%, 0%, 11%)
CIE-LABlab(59.22, 69.50, -47.32)
CIE-LCHlch(59.22, 84.07, 325.75°)
OKLaboklab(67.81% 0.1903 -0.1311)
OKLCHoklch(67.81% 0.231 325.4)
XYZxyz(46.4053, 27.2645, 75.4765)
Luminance0.2726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB56E3 #5EE356
analogous
#9556E3 #DB56E3 #E356A5
triadic
#DB56E3 #E3DB56 #56E3DB
tetradic
#DB56E3 #E39556 #5EE356 #56A5E3
square
#DB56E3 #E39556 #5EE356 #56A5E3
split-complementary
#DB56E3 #A5E356 #56E395
monochromatic
#9C1BA4 #CE24D8 #DB56E3 #E68BEC #F1BFF4

Accessibility & contrast

On white

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

On black

6.45
#DB56E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB56E3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB56E3#FFFFFF#000000##000000
##DB56E31.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E84E7
Deuteranopia (green-blind)
#7194DF
Tritanopia (blue-blind)
#E06A95
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #db56e3;
/* rgb */ color: rgb(219, 86, 227);
/* oklch */ color: oklch(67.8% 0.231 325.4);
Tailwind
colors: {
  custom: {
    50: '#ea8eec',
    500: '#db56e3',
    950: '#000000',
  },
}
SCSS
$custom: #db56e3;
$custom-light: #ea8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#db56e3",
  "rgb": {
    "r": 219,
    "g": 86,
    "b": 227
  },
  "hsl": {
    "h": 296.596,
    "s": 71.574,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67812,
    "c": 0.23107,
    "h": 325.4
  },
  "luminance": 0.27262
}

Semantic roles & 50–950 ramp

primary
#DB56E3
secondary
#B3E5B0
accent
#D4121D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DB56E3

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

Preview Lab → · Contrast checker → · Palette generator →

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