#CD42D0#CD42D0

#CD42D0 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.9% C 0.234 H 327.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CD42D0
RGBrgb(205, 66, 208)
HSLhsl(299, 60%, 54%)
HSVhsv(299, 68%, 82%)
CMYKcmyk(1.4%, 68.3%, 0%, 18.4%)
CIE-LABlab(53.42, 70.76, -45.88)
CIE-LCHlch(53.42, 84.33, 327.04°)
OKLaboklab(62.9% 0.196 -0.1271)
OKLCHoklch(62.9% 0.234 327)
XYZxyz(38.5096, 21.4322, 61.7708)
Luminance0.2143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42D0 #45D042
analogous
#8642D0 #CD42D0 #D0428C
triadic
#CD42D0 #D0CD42 #42D0CD
tetradic
#CD42D0 #D08642 #45D042 #428CD0
square
#CD42D0 #D08642 #45D042 #428CD0
split-complementary
#CD42D0 #8CD042 #42D086
monochromatic
#771E79 #A82AAA #CD42D0 #DA73DC #E7A4E8

Accessibility & contrast

On white

3.97
#CD42D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CD42D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42D0
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42D0#FFFFFF#000000##000000
##CD42D01.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2874D4
Deuteranopia (green-blind)
#6486CC
Tritanopia (blue-blind)
#D35784
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd42d0;
/* rgb */ color: rgb(205, 66, 208);
/* oklch */ color: oklch(62.9% 0.234 327.0);
Tailwind
colors: {
  custom: {
    50: '#e082df',
    500: '#cd42d0',
    950: '#000000',
  },
}
SCSS
$custom: #cd42d0;
$custom-light: #e082df;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42d0",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 298.732,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62896,
    "c": 0.23362,
    "h": 327
  },
  "luminance": 0.2143
}

Semantic roles & 50–950 ramp

primary
#CD42D0
secondary
#9AD599
accent
#E34448
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CD42D0

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

Preview Lab → · Contrast checker → · Palette generator →

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