#DC42DB#DC42DB

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

Color values

HEX#DC42DB
RGBrgb(220, 66, 219)
HSLhsl(300, 69%, 56%)
HSVhsv(300, 70%, 86%)
CMYKcmyk(0%, 70%, 0.5%, 13.7%)
CIE-LABlab(56.32, 75.81, -47.39)
CIE-LCHlch(56.32, 89.40, 327.99°)
OKLaboklab(65.62% 0.2119 -0.1312)
OKLCHoklch(65.62% 0.249 328.2)
XYZxyz(44.2491, 24.2297, 69.3503)
Luminance0.2423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC42DB #42DC43
analogous
#9042DC #DC42DB #DC428E
triadic
#DC42DB #DBDC42 #42DBDC
tetradic
#DC42DB #DC9042 #42DC43 #428EDC
square
#DC42DB #DC9042 #42DC43 #428EDC
split-complementary
#DC42DB #8EDC42 #42DC90
monochromatic
#8A1A89 #BE23BD #DC42DB #E676E5 #EFA9EF

Accessibility & contrast

On white

3.59
#DC42DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#DC42DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC42DB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC42DB#FFFFFF#000000##000000
##DC42DB1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#287ADF
Deuteranopia (green-blind)
#6B8ED7
Tritanopia (blue-blind)
#E3598B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dc42db;
/* rgb */ color: rgb(220, 66, 219);
/* oklch */ color: oklch(65.6% 0.249 328.2);
Tailwind
colors: {
  custom: {
    50: '#eb84e7',
    500: '#dc42db',
    950: '#000000',
  },
}
SCSS
$custom: #dc42db;
$custom-light: #eb84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc42db",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 300.39,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.65616,
    "c": 0.24921,
    "h": 328.2
  },
  "luminance": 0.24227
}

Semantic roles & 50–950 ramp

primary
#DC42DB
secondary
#9DDD9E
accent
#EC3D3C
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DC42DB

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

Preview Lab → · Contrast checker → · Palette generator →

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