#DB4ED8#DB4ED8

#DB4ED8 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.4% C 0.232 H 328.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#DB4ED8
RGBrgb(219, 78, 216)
HSLhsl(301, 66%, 58%)
HSVhsv(301, 64%, 86%)
CMYKcmyk(0%, 64.4%, 1.4%, 14.1%)
CIE-LABlab(57.53, 70.82, -43.79)
CIE-LCHlch(57.53, 83.26, 328.27°)
OKLaboklab(66.41% 0.1986 -0.1208)
OKLCHoklch(66.41% 0.232 328.7)
XYZxyz(44.3320, 25.4698, 67.5336)
Luminance0.2547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4ED8 #4EDB51
analogous
#984EDB #DB4ED8 #DB4E91
triadic
#DB4ED8 #D8DB4E #4ED8DB
tetradic
#DB4ED8 #DB984E #4EDB51 #4E91DB
square
#DB4ED8 #DB984E #4EDB51 #4E91DB
split-complementary
#DB4ED8 #91DB4E #4EDB98
monochromatic
#911E8F #C428C1 #DB4ED8 #E581E3 #F0B4EE

Accessibility & contrast

On white

3.45
#DB4ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#DB4ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4ED8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4ED8#FFFFFF#000000##000000
##DB4ED81.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7EDC
Deuteranopia (green-blind)
#7291D4
Tritanopia (blue-blind)
#E2608D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #db4ed8;
/* rgb */ color: rgb(219, 78, 216);
/* oklch */ color: oklch(66.4% 0.232 328.7);
Tailwind
colors: {
  custom: {
    50: '#ea8ae4',
    500: '#db4ed8',
    950: '#000000',
  },
}
SCSS
$custom: #db4ed8;
$custom-light: #ea8ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#db4ed8",
  "rgb": {
    "r": 219,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 301.277,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.66411,
    "c": 0.23247,
    "h": 328.7
  },
  "luminance": 0.25467
}

Semantic roles & 50–950 ramp

primary
#DB4ED8
secondary
#A6DEA8
accent
#E9423F
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170D16
muted
#857D84

Preview Lab

Preview with #DB4ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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