#DB4EC7#DB4EC7

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

Color values

HEX#DB4EC7
RGBrgb(219, 78, 199)
HSLhsl(309, 66%, 58%)
HSVhsv(309, 64%, 86%)
CMYKcmyk(0%, 64.4%, 9.1%, 14.1%)
CIE-LABlab(56.72, 68.14, -35.39)
CIE-LCHlch(56.72, 76.78, 332.56°)
OKLaboklab(65.56% 0.1972 -0.0967)
OKLCHoklch(65.56% 0.22 333.9)
XYZxyz(42.2469, 24.6357, 56.5519)
Luminance0.2463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4EC7 #4EDB62
analogous
#A94EDB #DB4EC7 #DB4E80
triadic
#DB4EC7 #C7DB4E #4EC7DB
tetradic
#DB4EC7 #DBA94E #4EDB62 #4E80DB
square
#DB4EC7 #DBA94E #4EDB62 #4E80DB
split-complementary
#DB4EC7 #80DB4E #4EDBA9
monochromatic
#911E81 #C428AE #DB4EC7 #E581D7 #F0B4E7

Accessibility & contrast

On white

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

On black

5.93
#DB4EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4EC7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4EC7#FFFFFF#000000##000000
##DB4EC71.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db4ec7;
/* rgb */ color: rgb(219, 78, 199);
/* oklch */ color: oklch(65.6% 0.220 333.9);
Tailwind
colors: {
  custom: {
    50: '#ea89d8',
    500: '#db4ec7',
    950: '#000000',
  },
}
SCSS
$custom: #db4ec7;
$custom-light: #ea89d8;
$custom-dark: #000000;
JSON
{
  "hex": "#db4ec7",
  "rgb": {
    "r": 219,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 308.511,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65558,
    "c": 0.21957,
    "h": 333.9
  },
  "luminance": 0.24632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB4EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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