#DB42DD#DB42DD

#DB42DD is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.6% C 0.250 H 327.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#DB42DD
RGBrgb(219, 66, 221)
HSLhsl(299, 70%, 56%)
HSVhsv(299, 70%, 87%)
CMYKcmyk(0.9%, 70.1%, 0%, 13.3%)
CIE-LABlab(56.27, 75.91, -48.61)
CIE-LCHlch(56.27, 90.14, 327.36°)
OKLaboklab(65.59% 0.2109 -0.1347)
OKLCHoklch(65.59% 0.25 327.4)
XYZxyz(44.2121, 24.1801, 70.7312)
Luminance0.2418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42DD #44DD42
analogous
#8E42DD #DB42DD #DD4292
triadic
#DB42DD #DDDB42 #42DDDB
tetradic
#DB42DD #DD8E42 #44DD42 #4292DD
square
#DB42DD #DD8E42 #44DD42 #4292DD
split-complementary
#DB42DD #92DD42 #42DD8E
monochromatic
#8A198C #BD22BF #DB42DD #E576E6 #EFAAF0

Accessibility & contrast

On white

3.60
#DB42DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#DB42DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42DD
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42DD#FFFFFF#000000##000000
##DB42DD1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#237AE1
Deuteranopia (green-blind)
#698ED9
Tritanopia (blue-blind)
#E15A8C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #db42dd;
/* rgb */ color: rgb(219, 66, 221);
/* oklch */ color: oklch(65.6% 0.250 327.4);
Tailwind
colors: {
  custom: {
    50: '#ea84e8',
    500: '#db42dd',
    950: '#000000',
  },
}
SCSS
$custom: #db42dd;
$custom-light: #ea84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#db42dd",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 299.226,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.65585,
    "c": 0.25023,
    "h": 327.4
  },
  "luminance": 0.24177
}

Semantic roles & 50–950 ramp

primary
#DB42DD
secondary
#9EDD9D
accent
#EC3B3E
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DB42DD

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

Preview Lab → · Contrast checker → · Palette generator →

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