#DB40C9#DB40C9

#DB40C9 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.4% C 0.238 H 333.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#DB40C9
RGBrgb(219, 64, 201)
HSLhsl(307, 68%, 55%)
HSVhsv(307, 71%, 86%)
CMYKcmyk(0%, 70.8%, 8.2%, 14.1%)
CIE-LABlab(55.02, 73.48, -39.20)
CIE-LCHlch(55.02, 83.28, 331.92°)
OKLaboklab(64.36% 0.2121 -0.1075)
OKLCHoklch(64.36% 0.238 333.1)
XYZxyz(41.5897, 22.9474, 57.4859)
Luminance0.2294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB40C9 #40DB52
analogous
#A040DB #DB40C9 #DB407B
triadic
#DB40C9 #C9DB40 #40C9DB
tetradic
#DB40C9 #DBA040 #40DB52 #407BDB
square
#DB40C9 #DBA040 #40DB52 #407BDB
split-complementary
#DB40C9 #7BDB40 #40DBA0
monochromatic
#87197A #BB23A9 #DB40C9 #E573D8 #EEA7E6

Accessibility & contrast

On white

3.76
#DB40C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#DB40C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB40C9
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB40C9#FFFFFF#000000##000000
##DB40C91.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A75CD
Deuteranopia (green-blind)
#738CC5
Tritanopia (blue-blind)
#E54F80
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #db40c9;
/* rgb */ color: rgb(219, 64, 201);
/* oklch */ color: oklch(64.4% 0.238 333.1);
Tailwind
colors: {
  custom: {
    50: '#ea83da',
    500: '#db40c9',
    950: '#000000',
  },
}
SCSS
$custom: #db40c9;
$custom-light: #ea83da;
$custom-dark: #000000;
JSON
{
  "hex": "#db40c9",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 201
  },
  "hsl": {
    "h": 306.968,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.64357,
    "c": 0.23777,
    "h": 333.1
  },
  "luminance": 0.22944
}

Semantic roles & 50–950 ramp

primary
#DB40C9
secondary
#9BDCA3
accent
#EB513D
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C15
muted
#857D83

Preview Lab

Preview with #DB40C9

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

Preview Lab → · Contrast checker → · Palette generator →

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