#DB42C3#DB42C3

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

Color values

HEX#DB42C3
RGBrgb(219, 66, 195)
HSLhsl(309, 68%, 56%)
HSVhsv(309, 70%, 86%)
CMYKcmyk(0%, 69.9%, 11%, 14.1%)
CIE-LABlab(54.97, 71.93, -35.83)
CIE-LCHlch(54.97, 80.36, 333.52°)
OKLaboklab(64.23% 0.2096 -0.0978)
OKLCHoklch(64.23% 0.231 335)
XYZxyz(41.0124, 22.9002, 53.8793)
Luminance0.2290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42C3 #42DB5A
analogous
#A642DB #DB42C3 #DB4276
triadic
#DB42C3 #C3DB42 #42C3DB
tetradic
#DB42C3 #DBA642 #42DB5A #4276DB
square
#DB42C3 #DBA642 #42DB5A #4276DB
split-complementary
#DB42C3 #76DB42 #42DBA6
monochromatic
#891A77 #BC24A4 #DB42C3 #E575D3 #EFA9E4

Accessibility & contrast

On white

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

On black

5.58
#DB42C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42C3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42C3#FFFFFF#000000##000000
##DB42C31.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4175C7
Deuteranopia (green-blind)
#768CBF
Tritanopia (blue-blind)
#E64E7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #db42c3;
/* rgb */ color: rgb(219, 66, 195);
/* oklch */ color: oklch(64.2% 0.231 335.0);
Tailwind
colors: {
  custom: {
    50: '#ea83d5',
    500: '#db42c3',
    950: '#000000',
  },
}
SCSS
$custom: #db42c3;
$custom-light: #ea83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#db42c3",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 309.412,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64229,
    "c": 0.23133,
    "h": 335
  },
  "luminance": 0.22897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB42C3

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

Preview Lab → · Contrast checker → · Palette generator →

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