#DB40C3#DB40C3

#DB40C3 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.1% C 0.234 H 335.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#DB40C3
RGBrgb(219, 64, 195)
HSLhsl(309, 68%, 55%)
HSVhsv(309, 71%, 86%)
CMYKcmyk(0%, 70.8%, 11%, 14.1%)
CIE-LABlab(54.73, 72.60, -36.20)
CIE-LCHlch(54.73, 81.13, 333.50°)
OKLaboklab(64.06% 0.2116 -0.0989)
OKLCHoklch(64.06% 0.234 335)
XYZxyz(40.8976, 22.6705, 53.8411)
Luminance0.2267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB40C3 #40DB58
analogous
#A540DB #DB40C3 #DB4076
triadic
#DB40C3 #C3DB40 #40C3DB
tetradic
#DB40C3 #DBA540 #40DB58 #4076DB
square
#DB40C3 #DBA540 #40DB58 #4076DB
split-complementary
#DB40C3 #76DB40 #40DBA5
monochromatic
#871976 #BB23A3 #DB40C3 #E573D3 #EEA7E3

Accessibility & contrast

On white

3.80
#DB40C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#DB40C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB40C3
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB40C3#FFFFFF#000000##000000
##DB40C31.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F74C7
Deuteranopia (green-blind)
#768BBF
Tritanopia (blue-blind)
#E64C7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db40c3;
/* rgb */ color: rgb(219, 64, 195);
/* oklch */ color: oklch(64.1% 0.234 335.0);
Tailwind
colors: {
  custom: {
    50: '#ea82d5',
    500: '#db40c3',
    950: '#000000',
  },
}
SCSS
$custom: #db40c3;
$custom-light: #ea82d5;
$custom-dark: #000000;
JSON
{
  "hex": "#db40c3",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 309.29,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.64057,
    "c": 0.23358,
    "h": 335
  },
  "luminance": 0.22667
}

Semantic roles & 50–950 ramp

primary
#DB40C3
secondary
#9BDCA5
accent
#EB583D
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DB40C3

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

Preview Lab → · Contrast checker → · Palette generator →

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