#DB4EC4#DB4EC4

#DB4EC4 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.4% C 0.217 H 334.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#DB4EC4
RGBrgb(219, 78, 196)
HSLhsl(310, 66%, 58%)
HSVhsv(310, 64%, 86%)
CMYKcmyk(0%, 64.4%, 10.5%, 14.1%)
CIE-LABlab(56.58, 67.68, -33.88)
CIE-LCHlch(56.58, 75.69, 333.41°)
OKLaboklab(65.42% 0.1968 -0.0924)
OKLCHoklch(65.42% 0.217 334.9)
XYZxyz(41.9020, 24.4978, 54.7355)
Luminance0.2449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4EC4 #4EDB65
analogous
#AB4EDB #DB4EC4 #DB4E7D
triadic
#DB4EC4 #C4DB4E #4EC4DB
tetradic
#DB4EC4 #DBAB4E #4EDB65 #4E7DDB
square
#DB4EC4 #DBAB4E #4EDB65 #4E7DDB
split-complementary
#DB4EC4 #7DDB4E #4EDBAB
monochromatic
#911E7E #C428AA #DB4EC4 #E581D5 #F0B4E6

Accessibility & contrast

On white

3.56
#DB4EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#DB4EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4EC4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4EC4#FFFFFF#000000##000000
##DB4EC41.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7AC7
Deuteranopia (green-blind)
#7C8FC0
Tritanopia (blue-blind)
#E55882
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #db4ec4;
/* rgb */ color: rgb(219, 78, 196);
/* oklch */ color: oklch(65.4% 0.217 334.9);
Tailwind
colors: {
  custom: {
    50: '#ea89d6',
    500: '#db4ec4',
    950: '#000000',
  },
}
SCSS
$custom: #db4ec4;
$custom-light: #ea89d6;
$custom-dark: #000000;
JSON
{
  "hex": "#db4ec4",
  "rgb": {
    "r": 219,
    "g": 78,
    "b": 196
  },
  "hsl": {
    "h": 309.787,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65415,
    "c": 0.21739,
    "h": 334.9
  },
  "luminance": 0.24494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB4EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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