#DD42CD#DD42CD

#DD42CD is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 65.0% C 0.239 H 332.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#DD42CD
RGBrgb(221, 66, 205)
HSLhsl(306, 70%, 56%)
HSVhsv(306, 70%, 87%)
CMYKcmyk(0%, 70.1%, 7.2%, 13.3%)
CIE-LABlab(55.77, 73.87, -40.29)
CIE-LCHlch(55.77, 84.14, 331.39°)
OKLaboklab(65.02% 0.2124 -0.1106)
OKLCHoklch(65.02% 0.239 332.5)
XYZxyz(42.7866, 23.6798, 60.0630)
Luminance0.2368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD42CD #42DD52
analogous
#A042DD #DD42CD #DD4280
triadic
#DD42CD #CDDD42 #42CDDD
tetradic
#DD42CD #DDA042 #42DD52 #4280DD
square
#DD42CD #DDA042 #42DD52 #4280DD
split-complementary
#DD42CD #80DD42 #42DDA0
monochromatic
#8C1980 #BF22AF #DD42CD #E676DB #F0AAE8

Accessibility & contrast

On white

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

On black

5.74
#DD42CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD42CD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD42CD#FFFFFF#000000##000000
##DD42CD1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A78D1
Deuteranopia (green-blind)
#748DC9
Tritanopia (blue-blind)
#E65283
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dd42cd;
/* rgb */ color: rgb(221, 66, 205);
/* oklch */ color: oklch(65.0% 0.239 332.5);
Tailwind
colors: {
  custom: {
    50: '#eb84dc',
    500: '#dd42cd',
    950: '#000000',
  },
}
SCSS
$custom: #dd42cd;
$custom-light: #eb84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#dd42cd",
  "rgb": {
    "r": 221,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 306.194,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.65021,
    "c": 0.23946,
    "h": 332.5
  },
  "luminance": 0.23676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD42CD

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

Preview Lab → · Contrast checker → · Palette generator →

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