#DB42CE#DB42CE

#DB42CE is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.8% C 0.239 H 331.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#DB42CE
RGBrgb(219, 66, 206)
HSLhsl(305, 68%, 56%)
HSVhsv(305, 70%, 86%)
CMYKcmyk(0%, 69.9%, 5.9%, 14.1%)
CIE-LABlab(55.50, 73.57, -41.31)
CIE-LCHlch(55.50, 84.37, 330.69°)
OKLaboklab(64.78% 0.2104 -0.1136)
OKLCHoklch(64.78% 0.239 331.6)
XYZxyz(42.3022, 23.4161, 60.6723)
Luminance0.2341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42CE #42DB4F
analogous
#9B42DB #DB42CE #DB4281
triadic
#DB42CE #CEDB42 #42CEDB
tetradic
#DB42CE #DB9B42 #42DB4F #4281DB
square
#DB42CE #DB9B42 #42DB4F #4281DB
split-complementary
#DB42CE #81DB42 #42DB9B
monochromatic
#891A7F #BC24AF #DB42CE #E575DB #EFA9E9

Accessibility & contrast

On white

3.70
#DB42CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#DB42CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42CE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42CE#FFFFFF#000000##000000
##DB42CE1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3777D2
Deuteranopia (green-blind)
#718DCA
Tritanopia (blue-blind)
#E45383
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #db42ce;
/* rgb */ color: rgb(219, 66, 206);
/* oklch */ color: oklch(64.8% 0.239 331.6);
Tailwind
colors: {
  custom: {
    50: '#ea84dd',
    500: '#db42ce',
    950: '#000000',
  },
}
SCSS
$custom: #db42ce;
$custom-light: #ea84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#db42ce",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 305.098,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64783,
    "c": 0.23913,
    "h": 331.6
  },
  "luminance": 0.23413
}

Semantic roles & 50–950 ramp

primary
#DB42CE
secondary
#9DDCA2
accent
#EB4C3D
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DB42CE

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

Preview Lab → · Contrast checker → · Palette generator →

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