#DB40D0#DB40D0

#DB40D0 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.7% C 0.243 H 331.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#DB40D0
RGBrgb(219, 64, 208)
HSLhsl(304, 68%, 55%)
HSVhsv(304, 71%, 86%)
CMYKcmyk(0%, 70.8%, 5%, 14.1%)
CIE-LABlab(55.36, 74.54, -42.66)
CIE-LCHlch(55.36, 85.88, 330.22°)
OKLaboklab(64.72% 0.2125 -0.1175)
OKLCHoklch(64.72% 0.243 331.1)
XYZxyz(42.4319, 23.2843, 61.9218)
Luminance0.2328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB40D0 #40DB4B
analogous
#9840DB #DB40D0 #DB4082
triadic
#DB40D0 #D0DB40 #40D0DB
tetradic
#DB40D0 #DB9840 #40DB4B #4082DB
square
#DB40D0 #DB9840 #40DB4B #4082DB
split-complementary
#DB40D0 #82DB40 #40DB98
monochromatic
#87197F #BB23B0 #DB40D0 #E573DD #EEA7E9

Accessibility & contrast

On white

3.71
#DB40D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#DB40D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB40D0
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB40D0#FFFFFF#000000##000000
##DB40D01.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3377D4
Deuteranopia (green-blind)
#708CCC
Tritanopia (blue-blind)
#E45284
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #db40d0;
/* rgb */ color: rgb(219, 64, 208);
/* oklch */ color: oklch(64.7% 0.243 331.1);
Tailwind
colors: {
  custom: {
    50: '#ea83df',
    500: '#db40d0',
    950: '#000000',
  },
}
SCSS
$custom: #db40d0;
$custom-light: #ea83df;
$custom-dark: #000000;
JSON
{
  "hex": "#db40d0",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 208
  },
  "hsl": {
    "h": 304.258,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.64719,
    "c": 0.24278,
    "h": 331.1
  },
  "luminance": 0.23281
}

Semantic roles & 50–950 ramp

primary
#DB40D0
secondary
#9BDCA0
accent
#EB493D
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DB40D0

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

Preview Lab → · Contrast checker → · Palette generator →

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