#DB42CD#DB42CD

#DB42CD is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.7% C 0.238 H 331.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#DB42CD
RGBrgb(219, 66, 205)
HSLhsl(305, 68%, 56%)
HSVhsv(305, 70%, 86%)
CMYKcmyk(0%, 69.9%, 6.4%, 14.1%)
CIE-LABlab(55.45, 73.41, -40.81)
CIE-LCHlch(55.45, 84.00, 330.93°)
OKLaboklab(64.73% 0.2104 -0.1122)
OKLCHoklch(64.73% 0.238 331.9)
XYZxyz(42.1811, 23.3677, 60.0346)
Luminance0.2336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB42CD #42DB50
analogous
#9C42DB #DB42CD #DB4280
triadic
#DB42CD #CDDB42 #42CDDB
tetradic
#DB42CD #DB9C42 #42DB50 #4280DB
square
#DB42CD #DB9C42 #42DB50 #4280DB
split-complementary
#DB42CD #80DB42 #42DB9C
monochromatic
#891A7E #BC24AE #DB42CD #E575DB #EFA9E8

Accessibility & contrast

On white

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

On black

5.67
#DB42CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB42CD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB42CD#FFFFFF#000000##000000
##DB42CD1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3877D1
Deuteranopia (green-blind)
#728CC9
Tritanopia (blue-blind)
#E45283
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #db42cd;
/* rgb */ color: rgb(219, 66, 205);
/* oklch */ color: oklch(64.7% 0.238 331.9);
Tailwind
colors: {
  custom: {
    50: '#ea84dd',
    500: '#db42cd',
    950: '#000000',
  },
}
SCSS
$custom: #db42cd;
$custom-light: #ea84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#db42cd",
  "rgb": {
    "r": 219,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 305.49,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64731,
    "c": 0.23841,
    "h": 331.9
  },
  "luminance": 0.23364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB42CD

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

Preview Lab → · Contrast checker → · Palette generator →

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