#DB42DA#DB42DA

#DB42DA is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.4% C 0.248 H 328.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#DB42DA
RGBrgb(219, 66, 218)
HSLhsl(300, 68%, 56%)
HSVhsv(300, 70%, 86%)
CMYKcmyk(0%, 69.9%, 0.5%, 14.1%)
CIE-LABlab(56.11, 75.43, -47.17)
CIE-LCHlch(56.11, 88.97, 327.98°)
OKLaboklab(65.42% 0.2108 -0.1305)
OKLCHoklch(65.42% 0.248 328.2)
XYZxyz(43.8160, 24.0216, 68.6449)
Luminance0.2402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42DA #42DB43
analogous
#8F42DB #DB42DA #DB428D
triadic
#DB42DA #DADB42 #42DADB
tetradic
#DB42DA #DB8F42 #42DB43 #428DDB
square
#DB42DA #DB8F42 #42DB43 #428DDB
split-complementary
#DB42DA #8DDB42 #42DB8F
monochromatic
#891A88 #BC24BB #DB42DA #E575E4 #EFA9EE

Accessibility & contrast

On white

3.62
#DB42DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#DB42DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42DA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42DA#FFFFFF#000000##000000
##DB42DA1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#287ADE
Deuteranopia (green-blind)
#6B8DD6
Tritanopia (blue-blind)
#E2588A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #db42da;
/* rgb */ color: rgb(219, 66, 218);
/* oklch */ color: oklch(65.4% 0.248 328.2);
Tailwind
colors: {
  custom: {
    50: '#ea84e6',
    500: '#db42da',
    950: '#000000',
  },
}
SCSS
$custom: #db42da;
$custom-light: #ea84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#db42da",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 300.392,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6542,
    "c": 0.24798,
    "h": 328.2
  },
  "luminance": 0.24018
}

Semantic roles & 50–950 ramp

primary
#DB42DA
secondary
#9DDC9D
accent
#EB3E3D
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DB42DA

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

Preview Lab → · Contrast checker → · Palette generator →

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