#DB56D4#DB56D4

#DB56D4 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.0% C 0.219 H 329.8°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#DB56D4
RGBrgb(219, 86, 212)
HSLhsl(303, 65%, 60%)
HSVhsv(303, 61%, 86%)
CMYKcmyk(0%, 60.7%, 3.2%, 14.1%)
CIE-LABlab(58.48, 66.98, -40.02)
CIE-LCHlch(58.48, 78.03, 329.14°)
OKLaboklab(67.04% 0.1892 -0.11)
OKLCHoklch(67.04% 0.219 329.8)
XYZxyz(44.4245, 26.4722, 65.0444)
Luminance0.2647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB56D4 #56DB5D
analogous
#A056DB #DB56D4 #DB5691
triadic
#DB56D4 #D4DB56 #56D4DB
tetradic
#DB56D4 #DBA056 #56DB5D #5691DB
square
#DB56D4 #DBA056 #56DB5D #5691DB
split-complementary
#DB56D4 #91DB56 #56DBA0
monochromatic
#972090 #C92BC1 #DB56D4 #E688E1 #F0BBEE

Accessibility & contrast

On white

3.34
#DB56D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#DB56D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB56D4
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB56D4#FFFFFF#000000##000000
##DB56D41.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B81D8
Deuteranopia (green-blind)
#7993D0
Tritanopia (blue-blind)
#E3648D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #db56d4;
/* rgb */ color: rgb(219, 86, 212);
/* oklch */ color: oklch(67.0% 0.219 329.8);
Tailwind
colors: {
  custom: {
    50: '#e98ee1',
    500: '#db56d4',
    950: '#000000',
  },
}
SCSS
$custom: #db56d4;
$custom-light: #e98ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#db56d4",
  "rgb": {
    "r": 219,
    "g": 86,
    "b": 212
  },
  "hsl": {
    "h": 303.158,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.67038,
    "c": 0.21888,
    "h": 329.8
  },
  "luminance": 0.26469
}

Semantic roles & 50–950 ramp

primary
#DB56D4
secondary
#ADE0AF
accent
#E84940
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #DB56D4

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

Preview Lab → · Contrast checker → · Palette generator →

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