#CD42CA#CD42CA

#CD42CA is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.6% C 0.229 H 328.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CD42CA
RGBrgb(205, 66, 202)
HSLhsl(301, 58%, 53%)
HSVhsv(301, 68%, 80%)
CMYKcmyk(0%, 67.8%, 1.5%, 19.6%)
CIE-LABlab(53.11, 69.78, -42.94)
CIE-LCHlch(53.11, 81.93, 328.39°)
OKLaboklab(62.57% 0.1958 -0.1186)
OKLCHoklch(62.57% 0.229 328.8)
XYZxyz(37.7853, 21.1425, 57.9564)
Luminance0.2114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42CA #42CD45
analogous
#8A42CD #CD42CA #CD4284
triadic
#CD42CA #CACD42 #42CACD
tetradic
#CD42CA #CD8A42 #42CD45 #4284CD
square
#CD42CA #CD8A42 #42CD45 #4284CD
split-complementary
#CD42CA #84CD42 #42CD8A
monochromatic
#761F74 #A62CA3 #CD42CA #DA72D8 #E7A3E5

Accessibility & contrast

On white

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

On black

5.23
#CD42CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42CA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42CA#FFFFFF#000000##000000
##CD42CA1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3073CE
Deuteranopia (green-blind)
#6785C6
Tritanopia (blue-blind)
#D45581
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd42ca;
/* rgb */ color: rgb(205, 66, 202);
/* oklch */ color: oklch(62.6% 0.229 328.8);
Tailwind
colors: {
  custom: {
    50: '#e082da',
    500: '#cd42ca',
    950: '#000000',
  },
}
SCSS
$custom: #cd42ca;
$custom-light: #e082da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42ca",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 301.295,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.62569,
    "c": 0.22896,
    "h": 328.8
  },
  "luminance": 0.2114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD42CA

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

Preview Lab → · Contrast checker → · Palette generator →

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