#CD42C6#CD42C6

#CD42C6 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.4% C 0.226 H 330.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CD42C6
RGBrgb(205, 66, 198)
HSLhsl(303, 58%, 53%)
HSVhsv(303, 68%, 80%)
CMYKcmyk(0%, 67.8%, 3.4%, 19.6%)
CIE-LABlab(52.90, 69.14, -40.96)
CIE-LCHlch(52.90, 80.36, 329.35°)
OKLaboklab(62.36% 0.1957 -0.1129)
OKLCHoklch(62.36% 0.226 330)
XYZxyz(37.3179, 20.9556, 55.4945)
Luminance0.2095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42C6 #42CD49
analogous
#8F42CD #CD42C6 #CD4280
triadic
#CD42C6 #C6CD42 #42C6CD
tetradic
#CD42C6 #CD8F42 #42CD49 #4280CD
square
#CD42C6 #CD8F42 #42CD49 #4280CD
split-complementary
#CD42C6 #80CD42 #42CD8F
monochromatic
#761F71 #A62CA0 #CD42C6 #DA72D5 #E7A3E3

Accessibility & contrast

On white

4.05
#CD42C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CD42C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42C6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42C6#FFFFFF#000000##000000
##CD42C61.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3472CA
Deuteranopia (green-blind)
#6985C2
Tritanopia (blue-blind)
#D4537F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd42c6;
/* rgb */ color: rgb(205, 66, 198);
/* oklch */ color: oklch(62.4% 0.226 330.0);
Tailwind
colors: {
  custom: {
    50: '#e082d8',
    500: '#cd42c6',
    950: '#000000',
  },
}
SCSS
$custom: #cd42c6;
$custom-light: #e082d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42c6",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 303.022,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.62355,
    "c": 0.22591,
    "h": 330
  },
  "luminance": 0.20953
}

Semantic roles & 50–950 ramp

primary
#CD42C6
secondary
#97D39A
accent
#E14E46
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD42C6

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

Preview Lab → · Contrast checker → · Palette generator →

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