#DB42C8#DB42C8

#DB42C8 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.5% C 0.235 H 333.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#DB42C8
RGBrgb(219, 66, 200)
HSLhsl(307, 68%, 56%)
HSVhsv(307, 70%, 86%)
CMYKcmyk(0%, 69.9%, 8.7%, 14.1%)
CIE-LABlab(55.21, 72.66, -38.33)
CIE-LCHlch(55.21, 82.15, 332.19°)
OKLaboklab(64.48% 0.2101 -0.105)
OKLCHoklch(64.48% 0.235 333.4)
XYZxyz(41.5872, 23.1301, 56.9066)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42C8 #42DB55
analogous
#A142DB #DB42C8 #DB427B
triadic
#DB42C8 #C8DB42 #42C8DB
tetradic
#DB42C8 #DBA142 #42DB55 #427BDB
square
#DB42C8 #DBA142 #42DB55 #427BDB
split-complementary
#DB42C8 #7BDB42 #42DBA1
monochromatic
#891A7B #BC24A9 #DB42C8 #E575D7 #EFA9E6

Accessibility & contrast

On white

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

On black

5.63
#DB42C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42C8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42C8#FFFFFF#000000##000000
##DB42C81.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CC
Deuteranopia (green-blind)
#748CC4
Tritanopia (blue-blind)
#E55080
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #db42c8;
/* rgb */ color: rgb(219, 66, 200);
/* oklch */ color: oklch(64.5% 0.235 333.4);
Tailwind
colors: {
  custom: {
    50: '#ea83d9',
    500: '#db42c8',
    950: '#000000',
  },
}
SCSS
$custom: #db42c8;
$custom-light: #ea83d9;
$custom-dark: #000000;
JSON
{
  "hex": "#db42c8",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 307.451,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64477,
    "c": 0.23484,
    "h": 333.4
  },
  "luminance": 0.23127
}

Semantic roles & 50–950 ramp

primary
#DB42C8
secondary
#9DDCA5
accent
#EB533D
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DB42C8

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

Preview Lab → · Contrast checker → · Palette generator →

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