#DB56C7#DB56C7

#DB56C7 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.4% C 0.209 H 334.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#DB56C7
RGBrgb(219, 86, 199)
HSLhsl(309, 65%, 60%)
HSVhsv(309, 61%, 86%)
CMYKcmyk(0%, 60.7%, 9.1%, 14.1%)
CIE-LABlab(57.89, 64.91, -33.56)
CIE-LCHlch(57.89, 73.08, 332.66°)
OKLaboklab(66.41% 0.1877 -0.0915)
OKLCHoklch(66.41% 0.209 334)
XYZxyz(42.8502, 25.8425, 56.7530)
Luminance0.2584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB56C7 #56DB6A
analogous
#AD56DB #DB56C7 #DB5684
triadic
#DB56C7 #C7DB56 #56C7DB
tetradic
#DB56C7 #DBAD56 #56DB6A #5684DB
square
#DB56C7 #DBAD56 #56DB6A #5684DB
split-complementary
#DB56C7 #84DB56 #56DBAD
monochromatic
#972085 #C92BB1 #DB56C7 #E688D8 #F0BBE8

Accessibility & contrast

On white

3.40
#DB56C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#DB56C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB56C7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB56C7#FFFFFF#000000##000000
##DB56C71.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCA
Deuteranopia (green-blind)
#7E92C4
Tritanopia (blue-blind)
#E55F87
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #db56c7;
/* rgb */ color: rgb(219, 86, 199);
/* oklch */ color: oklch(66.4% 0.209 334.0);
Tailwind
colors: {
  custom: {
    50: '#e98dd8',
    500: '#db56c7',
    950: '#000000',
  },
}
SCSS
$custom: #db56c7;
$custom-light: #e98dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#db56c7",
  "rgb": {
    "r": 219,
    "g": 86,
    "b": 199
  },
  "hsl": {
    "h": 309.023,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6641,
    "c": 0.20882,
    "h": 334
  },
  "luminance": 0.25839
}

Semantic roles & 50–950 ramp

primary
#DB56C7
secondary
#ADE0B4
accent
#E85940
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #DB56C7

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

Preview Lab → · Contrast checker → · Palette generator →

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