#DB40CE#DB40CE

#DB40CE is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.6% C 0.241 H 331.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#DB40CE
RGBrgb(219, 64, 206)
HSLhsl(305, 68%, 55%)
HSVhsv(305, 71%, 86%)
CMYKcmyk(0%, 70.8%, 5.9%, 14.1%)
CIE-LABlab(55.26, 74.23, -41.68)
CIE-LCHlch(55.26, 85.13, 330.69°)
OKLaboklab(64.61% 0.2124 -0.1146)
OKLCHoklch(64.61% 0.241 331.6)
XYZxyz(42.1874, 23.1865, 60.6341)
Luminance0.2318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB40CE #40DB4D
analogous
#9A40DB #DB40CE #DB4081
triadic
#DB40CE #CEDB40 #40CEDB
tetradic
#DB40CE #DB9A40 #40DB4D #4081DB
square
#DB40CE #DB9A40 #40DB4D #4081DB
split-complementary
#DB40CE #81DB40 #40DB9A
monochromatic
#87197E #BB23AE #DB40CE #E573DB #EEA7E8

Accessibility & contrast

On white

3.73
#DB40CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#DB40CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB40CE
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB40CE#FFFFFF#000000##000000
##DB40CE1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3576D2
Deuteranopia (green-blind)
#718CCA
Tritanopia (blue-blind)
#E45183
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #db40ce;
/* rgb */ color: rgb(219, 64, 206);
/* oklch */ color: oklch(64.6% 0.241 331.6);
Tailwind
colors: {
  custom: {
    50: '#ea83dd',
    500: '#db40ce',
    950: '#000000',
  },
}
SCSS
$custom: #db40ce;
$custom-light: #ea83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#db40ce",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 305.032,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.64614,
    "c": 0.24133,
    "h": 331.6
  },
  "luminance": 0.23183
}

Semantic roles & 50–950 ramp

primary
#DB40CE
secondary
#9BDCA1
accent
#EB4B3D
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DB40CE

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

Preview Lab → · Contrast checker → · Palette generator →

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