#DB40E5#DB40E5

#DB40E5 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.9% C 0.258 H 325.3°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#DB40E5
RGBrgb(219, 64, 229)
HSLhsl(296, 76%, 57%)
HSVhsv(296, 72%, 90%)
CMYKcmyk(4.4%, 72.1%, 0%, 10.2%)
CIE-LABlab(56.47, 77.86, -52.80)
CIE-LCHlch(56.47, 94.07, 325.86°)
OKLaboklab(65.87% 0.2126 -0.1469)
OKLCHoklch(65.87% 0.258 325.3)
XYZxyz(45.1886, 24.3870, 76.4406)
Luminance0.2438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB40E5 #4AE540
analogous
#8940E5 #DB40E5 #E5409C
triadic
#DB40E5 #E5DB40 #40E5DB
tetradic
#DB40E5 #E58940 #4AE540 #409CE5
square
#DB40E5 #E58940 #4AE540 #409CE5
split-complementary
#DB40E5 #9CE540 #40E589
monochromatic
#8E1496 #C11CCC #DB40E5 #E576EC #EFACF4

Accessibility & contrast

On white

3.57
#DB40E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#DB40E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB40E5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB40E5#FFFFFF#000000##000000
##DB40E51.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#047BEA
Deuteranopia (green-blind)
#638EE1
Tritanopia (blue-blind)
#E05C90
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #db40e5;
/* rgb */ color: rgb(219, 64, 229);
/* oklch */ color: oklch(65.9% 0.258 325.3);
Tailwind
colors: {
  custom: {
    50: '#ea84ee',
    500: '#db40e5',
    950: '#000000',
  },
}
SCSS
$custom: #db40e5;
$custom-light: #ea84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#db40e5",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 229
  },
  "hsl": {
    "h": 296.364,
    "s": 76.037,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65871,
    "c": 0.25839,
    "h": 325.3
  },
  "luminance": 0.24384
}

Semantic roles & 50–950 ramp

primary
#DB40E5
secondary
#A3E29F
accent
#F33541
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DB40E5

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

Preview Lab → · Contrast checker → · Palette generator →

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