#DD42CE#DD42CE

#DD42CE is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 65.1% C 0.240 H 332.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#DD42CE
RGBrgb(221, 66, 206)
HSLhsl(306, 70%, 56%)
HSVhsv(306, 70%, 87%)
CMYKcmyk(0%, 70.1%, 6.8%, 13.3%)
CIE-LABlab(55.81, 74.02, -40.79)
CIE-LCHlch(55.81, 84.51, 331.14°)
OKLaboklab(65.07% 0.2125 -0.112)
OKLCHoklch(65.07% 0.24 332.2)
XYZxyz(42.9077, 23.7283, 60.7007)
Luminance0.2372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD42CE #42DD51
analogous
#9E42DD #DD42CE #DD4281
triadic
#DD42CE #CEDD42 #42CEDD
tetradic
#DD42CE #DD9E42 #42DD51 #4281DD
square
#DD42CE #DD9E42 #42DD51 #4281DD
split-complementary
#DD42CE #81DD42 #42DD9E
monochromatic
#8C1980 #BF22B0 #DD42CE #E676DB #F0AAE9

Accessibility & contrast

On white

3.66
#DD42CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#DD42CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD42CE
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD42CE#FFFFFF#000000##000000
##DD42CE1.003.665.755.75
#FFFFFF3.661.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3978D2
Deuteranopia (green-blind)
#738DCA
Tritanopia (blue-blind)
#E65283
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dd42ce;
/* rgb */ color: rgb(221, 66, 206);
/* oklch */ color: oklch(65.1% 0.240 332.2);
Tailwind
colors: {
  custom: {
    50: '#eb84dd',
    500: '#dd42ce',
    950: '#000000',
  },
}
SCSS
$custom: #dd42ce;
$custom-light: #eb84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#dd42ce",
  "rgb": {
    "r": 221,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 305.806,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.65072,
    "c": 0.24018,
    "h": 332.2
  },
  "luminance": 0.23725
}

Semantic roles & 50–950 ramp

primary
#DD42CE
secondary
#9DDDA4
accent
#EC4D3B
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DD42CE

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

Preview Lab → · Contrast checker → · Palette generator →

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