#CD42C0#CD42C0

#CD42C0 is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.0% C 0.221 H 331.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CD42C0
RGBrgb(205, 66, 192)
HSLhsl(306, 58%, 53%)
HSVhsv(306, 68%, 80%)
CMYKcmyk(0%, 67.8%, 6.3%, 19.6%)
CIE-LABlab(52.60, 68.19, -37.97)
CIE-LCHlch(52.60, 78.05, 330.89°)
OKLaboklab(62.04% 0.1953 -0.1043)
OKLCHoklch(62.04% 0.221 331.9)
XYZxyz(36.6395, 20.6842, 51.9217)
Luminance0.2068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42C0 #42CD4F
analogous
#9542CD #CD42C0 #CD427A
triadic
#CD42C0 #C0CD42 #42C0CD
tetradic
#CD42C0 #CD9542 #42CD4F #427ACD
square
#CD42C0 #CD9542 #42CD4F #427ACD
split-complementary
#CD42C0 #7ACD42 #42CD95
monochromatic
#761F6D #A62C9A #CD42C0 #DA72D0 #E7A3E0

Accessibility & contrast

On white

4.09
#CD42C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CD42C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42C0
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42C0#FFFFFF#000000##000000
##CD42C01.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A71C4
Deuteranopia (green-blind)
#6C84BC
Tritanopia (blue-blind)
#D5507C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd42c0;
/* rgb */ color: rgb(205, 66, 192);
/* oklch */ color: oklch(62.0% 0.221 331.9);
Tailwind
colors: {
  custom: {
    50: '#e082d3',
    500: '#cd42c0',
    950: '#000000',
  },
}
SCSS
$custom: #cd42c0;
$custom-light: #e082d3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42c0",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 305.612,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.62043,
    "c": 0.2214,
    "h": 331.9
  },
  "luminance": 0.20681
}

Semantic roles & 50–950 ramp

primary
#CD42C0
secondary
#97D39D
accent
#E15546
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD42C0

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

Preview Lab → · Contrast checker → · Palette generator →

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