#CD42C3#CD42C3

#CD42C3 is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.2% C 0.224 H 330.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CD42C3
RGBrgb(205, 66, 195)
HSLhsl(304, 58%, 53%)
HSVhsv(304, 68%, 80%)
CMYKcmyk(0%, 67.8%, 4.9%, 19.6%)
CIE-LABlab(52.75, 68.66, -39.47)
CIE-LCHlch(52.75, 79.20, 330.11°)
OKLaboklab(62.2% 0.1955 -0.1086)
OKLCHoklch(62.2% 0.224 330.9)
XYZxyz(36.9753, 20.8185, 53.6901)
Luminance0.2082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42C3 #42CD4C
analogous
#9242CD #CD42C3 #CD427D
triadic
#CD42C3 #C3CD42 #42C3CD
tetradic
#CD42C3 #CD9242 #42CD4C #427DCD
square
#CD42C3 #CD9242 #42CD4C #427DCD
split-complementary
#CD42C3 #7DCD42 #42CD92
monochromatic
#761F6F #A62C9D #CD42C3 #DA72D2 #E7A3E2

Accessibility & contrast

On white

4.07
#CD42C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CD42C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42C3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42C3#FFFFFF#000000##000000
##CD42C31.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3772C7
Deuteranopia (green-blind)
#6B85BF
Tritanopia (blue-blind)
#D5527D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd42c3;
/* rgb */ color: rgb(205, 66, 195);
/* oklch */ color: oklch(62.2% 0.224 330.9);
Tailwind
colors: {
  custom: {
    50: '#e082d5',
    500: '#cd42c3',
    950: '#000000',
  },
}
SCSS
$custom: #cd42c3;
$custom-light: #e082d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42c3",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 304.317,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.62198,
    "c": 0.22364,
    "h": 330.9
  },
  "luminance": 0.20816
}

Semantic roles & 50–950 ramp

primary
#CD42C3
secondary
#97D39C
accent
#E15246
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD42C3

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

Preview Lab → · Contrast checker → · Palette generator →

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