#CD42CE#CD42CE

#CD42CE is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.8% C 0.232 H 327.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CD42CE
RGBrgb(205, 66, 206)
HSLhsl(300, 59%, 53%)
HSVhsv(300, 68%, 81%)
CMYKcmyk(0.5%, 68%, 0%, 19.2%)
CIE-LABlab(53.31, 70.43, -44.90)
CIE-LCHlch(53.31, 83.53, 327.48°)
OKLaboklab(62.79% 0.196 -0.1243)
OKLCHoklch(62.79% 0.232 327.6)
XYZxyz(38.2651, 21.3344, 60.4831)
Luminance0.2133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42CE #43CE42
analogous
#8742CE #CD42CE #CE4289
triadic
#CD42CE #CECD42 #42CECD
tetradic
#CD42CE #CE8742 #43CE42 #4289CE
square
#CD42CE #CE8742 #43CE42 #4289CE
split-complementary
#CD42CE #89CE42 #42CE87
monochromatic
#761F77 #A72BA7 #CD42CE #DA73DB #E7A3E7

Accessibility & contrast

On white

3.99
#CD42CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CD42CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42CE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42CE#FFFFFF#000000##000000
##CD42CE1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D2
Deuteranopia (green-blind)
#6586CA
Tritanopia (blue-blind)
#D35683
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd42ce;
/* rgb */ color: rgb(205, 66, 206);
/* oklch */ color: oklch(62.8% 0.232 327.6);
Tailwind
colors: {
  custom: {
    50: '#e082dd',
    500: '#cd42ce',
    950: '#000000',
  },
}
SCSS
$custom: #cd42ce;
$custom-light: #e082dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42ce",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 299.571,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62786,
    "c": 0.23206,
    "h": 327.6
  },
  "luminance": 0.21332
}

Semantic roles & 50–950 ramp

primary
#CD42CE
secondary
#98D498
accent
#E24647
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CD42CE

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

Preview Lab → · Contrast checker → · Palette generator →

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