#CD42C9#CD42C9

#CD42C9 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.5% C 0.228 H 329.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CD42C9
RGBrgb(205, 66, 201)
HSLhsl(302, 58%, 53%)
HSVhsv(302, 68%, 80%)
CMYKcmyk(0%, 67.8%, 2%, 19.6%)
CIE-LABlab(53.05, 69.62, -42.45)
CIE-LCHlch(53.05, 81.54, 328.63°)
OKLaboklab(62.52% 0.1958 -0.1172)
OKLCHoklch(62.52% 0.228 329.1)
XYZxyz(37.6673, 21.0953, 57.3349)
Luminance0.2109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42C9 #42CD46
analogous
#8C42CD #CD42C9 #CD4283
triadic
#CD42C9 #C9CD42 #42C9CD
tetradic
#CD42C9 #CD8C42 #42CD46 #4283CD
square
#CD42C9 #CD8C42 #42CD46 #4283CD
split-complementary
#CD42C9 #83CD42 #42CD8C
monochromatic
#761F73 #A62CA2 #CD42C9 #DA72D7 #E7A3E5

Accessibility & contrast

On white

4.02
#CD42C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CD42C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42C9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42C9#FFFFFF#000000##000000
##CD42C91.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3173CD
Deuteranopia (green-blind)
#6885C5
Tritanopia (blue-blind)
#D45481
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd42c9;
/* rgb */ color: rgb(205, 66, 201);
/* oklch */ color: oklch(62.5% 0.228 329.1);
Tailwind
colors: {
  custom: {
    50: '#e082da',
    500: '#cd42c9',
    950: '#000000',
  },
}
SCSS
$custom: #cd42c9;
$custom-light: #e082da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42c9",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 301.727,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.62515,
    "c": 0.2282,
    "h": 329.1
  },
  "luminance": 0.21093
}

Semantic roles & 50–950 ramp

primary
#CD42C9
secondary
#97D399
accent
#E14B46
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CD42C9

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

Preview Lab → · Contrast checker → · Palette generator →

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