#DB4EC5#DB4EC5

#DB4EC5 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.5% C 0.218 H 334.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#DB4EC5
RGBrgb(219, 78, 197)
HSLhsl(309, 66%, 58%)
HSVhsv(309, 64%, 86%)
CMYKcmyk(0%, 64.4%, 10%, 14.1%)
CIE-LABlab(56.63, 67.84, -34.39)
CIE-LCHlch(56.63, 76.05, 333.12°)
OKLaboklab(65.46% 0.1969 -0.0938)
OKLCHoklch(65.46% 0.218 334.5)
XYZxyz(42.0162, 24.5435, 55.3370)
Luminance0.2454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4EC5 #4EDB64
analogous
#AB4EDB #DB4EC5 #DB4E7E
triadic
#DB4EC5 #C5DB4E #4EC5DB
tetradic
#DB4EC5 #DBAB4E #4EDB64 #4E7EDB
square
#DB4EC5 #DBAB4E #4EDB64 #4E7EDB
split-complementary
#DB4EC5 #7EDB4E #4EDBAB
monochromatic
#911E7F #C428AC #DB4EC5 #E581D6 #F0B4E6

Accessibility & contrast

On white

3.55
#DB4EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#DB4EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4EC5
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4EC5#FFFFFF#000000##000000
##DB4EC51.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7BC9
Deuteranopia (green-blind)
#7B8FC1
Tritanopia (blue-blind)
#E55883
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #db4ec5;
/* rgb */ color: rgb(219, 78, 197);
/* oklch */ color: oklch(65.5% 0.218 334.5);
Tailwind
colors: {
  custom: {
    50: '#ea89d7',
    500: '#db4ec5',
    950: '#000000',
  },
}
SCSS
$custom: #db4ec5;
$custom-light: #ea89d7;
$custom-dark: #000000;
JSON
{
  "hex": "#db4ec5",
  "rgb": {
    "r": 219,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 309.362,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65462,
    "c": 0.21811,
    "h": 334.5
  },
  "luminance": 0.2454
}

Semantic roles & 50–950 ramp

primary
#DB4EC5
secondary
#A6DEAF
accent
#E9593F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DB4EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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