#DB42C2#DB42C2

#DB42C2 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.2% C 0.231 H 335.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#DB42C2
RGBrgb(219, 66, 194)
HSLhsl(310, 68%, 56%)
HSVhsv(310, 70%, 86%)
CMYKcmyk(0%, 69.9%, 11.4%, 14.1%)
CIE-LABlab(54.92, 71.78, -35.33)
CIE-LCHlch(54.92, 80.00, 333.80°)
OKLaboklab(64.18% 0.2095 -0.0964)
OKLCHoklch(64.18% 0.231 335.3)
XYZxyz(40.8997, 22.8551, 53.2859)
Luminance0.2285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42C2 #42DB5B
analogous
#A742DB #DB42C2 #DB4275
triadic
#DB42C2 #C2DB42 #42C2DB
tetradic
#DB42C2 #DBA742 #42DB5B #4275DB
square
#DB42C2 #DBA742 #42DB5B #4275DB
split-complementary
#DB42C2 #75DB42 #42DBA7
monochromatic
#891A77 #BC24A3 #DB42C2 #E575D3 #EFA9E3

Accessibility & contrast

On white

3.77
#DB42C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#DB42C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42C2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42C2#FFFFFF#000000##000000
##DB42C21.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4275C6
Deuteranopia (green-blind)
#778CBE
Tritanopia (blue-blind)
#E64D7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db42c2;
/* rgb */ color: rgb(219, 66, 194);
/* oklch */ color: oklch(64.2% 0.231 335.3);
Tailwind
colors: {
  custom: {
    50: '#ea83d5',
    500: '#db42c2',
    950: '#000000',
  },
}
SCSS
$custom: #db42c2;
$custom-light: #ea83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#db42c2",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 309.804,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64181,
    "c": 0.23064,
    "h": 335.3
  },
  "luminance": 0.22852
}

Semantic roles & 50–950 ramp

primary
#DB42C2
secondary
#9DDCA7
accent
#EB593D
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DB42C2

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

Preview Lab → · Contrast checker → · Palette generator →

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