#DD42C6#DD42C6

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

Color values

HEX#DD42C6
RGBrgb(221, 66, 198)
HSLhsl(309, 70%, 56%)
HSVhsv(309, 70%, 87%)
CMYKcmyk(0%, 70.1%, 10.4%, 13.3%)
CIE-LABlab(55.43, 72.83, -36.81)
CIE-LCHlch(55.43, 81.60, 333.19°)
OKLaboklab(64.67% 0.2119 -0.1006)
OKLCHoklch(64.67% 0.235 334.6)
XYZxyz(41.9605, 23.3494, 55.7121)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD42C6 #42DD59
analogous
#A742DD #DD42C6 #DD4279
triadic
#DD42C6 #C6DD42 #42C6DD
tetradic
#DD42C6 #DDA742 #42DD59 #4279DD
square
#DD42C6 #DDA742 #42DD59 #4279DD
split-complementary
#DD42C6 #79DD42 #42DDA7
monochromatic
#8C197B #BF22A8 #DD42C6 #E676D6 #F0AAE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DD42C6#FFFFFF#000000##000000
##DD42C61.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)
#4076CA
Deuteranopia (green-blind)
#778DC2
Tritanopia (blue-blind)
#E74F7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #dd42c6;
/* rgb */ color: rgb(221, 66, 198);
/* oklch */ color: oklch(64.7% 0.235 334.6);
Tailwind
colors: {
  custom: {
    50: '#eb84d7',
    500: '#dd42c6',
    950: '#000000',
  },
}
SCSS
$custom: #dd42c6;
$custom-light: #eb84d7;
$custom-dark: #000000;
JSON
{
  "hex": "#dd42c6",
  "rgb": {
    "r": 221,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 308.903,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6467,
    "c": 0.23454,
    "h": 334.6
  },
  "luminance": 0.23346
}

Semantic roles & 50–950 ramp

primary
#DD42C6
secondary
#9DDDA7
accent
#EC563B
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DD42C6

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

Preview Lab → · Contrast checker → · Palette generator →

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