#DB41E2#DB41E2

#DB41E2 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.8% C 0.255 H 326.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#DB41E2
RGBrgb(219, 65, 226)
HSLhsl(297, 74%, 57%)
HSVhsv(297, 71%, 89%)
CMYKcmyk(3.1%, 71.2%, 0%, 11.4%)
CIE-LABlab(56.42, 77.05, -51.19)
CIE-LCHlch(56.42, 92.50, 326.40°)
OKLaboklab(65.78% 0.2117 -0.1422)
OKLCHoklch(65.78% 0.255 326.1)
XYZxyz(44.8303, 24.3347, 74.2726)
Luminance0.2433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB41E2 #48E241
analogous
#8A41E2 #DB41E2 #E24199
triadic
#DB41E2 #E2DB41 #41E2DB
tetradic
#DB41E2 #E28A41 #48E241 #4199E2
square
#DB41E2 #E28A41 #48E241 #4199E2
split-complementary
#DB41E2 #99E241 #41E28A
monochromatic
#8D1692 #C01EC7 #DB41E2 #E576EA #EFABF2

Accessibility & contrast

On white

3.58
#DB41E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#DB41E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB41E2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB41E2#FFFFFF#000000##000000
##DB41E21.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#157BE6
Deuteranopia (green-blind)
#668EDE
Tritanopia (blue-blind)
#E15C8E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #db41e2;
/* rgb */ color: rgb(219, 65, 226);
/* oklch */ color: oklch(65.8% 0.255 326.1);
Tailwind
colors: {
  custom: {
    50: '#ea84ec',
    500: '#db41e2',
    950: '#000000',
  },
}
SCSS
$custom: #db41e2;
$custom-light: #ea84ec;
$custom-dark: #000000;
JSON
{
  "hex": "#db41e2",
  "rgb": {
    "r": 219,
    "g": 65,
    "b": 226
  },
  "hsl": {
    "h": 297.391,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65781,
    "c": 0.25508,
    "h": 326.1
  },
  "luminance": 0.24332
}

Semantic roles & 50–950 ramp

primary
#DB41E2
secondary
#A2E09F
accent
#F03840
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DB41E2

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

Preview Lab → · Contrast checker → · Palette generator →

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