#DB4EC8#DB4EC8

#DB4EC8 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.6% C 0.220 H 333.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#DB4EC8
RGBrgb(219, 78, 200)
HSLhsl(308, 66%, 58%)
HSVhsv(308, 64%, 86%)
CMYKcmyk(0%, 64.4%, 8.7%, 14.1%)
CIE-LABlab(56.76, 68.29, -35.89)
CIE-LCHlch(56.76, 77.15, 332.28°)
OKLaboklab(65.61% 0.1973 -0.0981)
OKLCHoklch(65.61% 0.22 333.6)
XYZxyz(42.3633, 24.6823, 57.1653)
Luminance0.2468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4EC8 #4EDB61
analogous
#A74EDB #DB4EC8 #DB4E81
triadic
#DB4EC8 #C8DB4E #4EC8DB
tetradic
#DB4EC8 #DBA74E #4EDB61 #4E81DB
square
#DB4EC8 #DBA74E #4EDB61 #4E81DB
split-complementary
#DB4EC8 #81DB4E #4EDBA7
monochromatic
#911E82 #C428AF #DB4EC8 #E581D8 #F0B4E8

Accessibility & contrast

On white

3.54
#DB4EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#DB4EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4EC8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4EC8#FFFFFF#000000##000000
##DB4EC81.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCC
Deuteranopia (green-blind)
#7A90C4
Tritanopia (blue-blind)
#E55984
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #db4ec8;
/* rgb */ color: rgb(219, 78, 200);
/* oklch */ color: oklch(65.6% 0.220 333.6);
Tailwind
colors: {
  custom: {
    50: '#ea89d9',
    500: '#db4ec8',
    950: '#000000',
  },
}
SCSS
$custom: #db4ec8;
$custom-light: #ea89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#db4ec8",
  "rgb": {
    "r": 219,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 308.085,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65606,
    "c": 0.22031,
    "h": 333.6
  },
  "luminance": 0.24679
}

Semantic roles & 50–950 ramp

primary
#DB4EC8
secondary
#A6DEAE
accent
#E9563F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DB4EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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