#CD42D1#CD42D1

#CD42D1 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 63.0% C 0.234 H 326.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CD42D1
RGBrgb(205, 66, 209)
HSLhsl(298, 61%, 54%)
HSVhsv(298, 68%, 82%)
CMYKcmyk(1.9%, 68.4%, 0%, 18%)
CIE-LABlab(53.47, 70.93, -46.36)
CIE-LCHlch(53.47, 84.74, 326.83°)
OKLaboklab(62.95% 0.196 -0.1286)
OKLCHoklch(62.95% 0.234 326.7)
XYZxyz(38.6330, 21.4816, 62.4208)
Luminance0.2148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD42D1 #46D142
analogous
#8642D1 #CD42D1 #D1428E
triadic
#CD42D1 #D1CD42 #42D1CD
tetradic
#CD42D1 #D18642 #46D142 #428ED1
square
#CD42D1 #D18642 #46D142 #428ED1
split-complementary
#CD42D1 #8ED142 #42D186
monochromatic
#781E7B #A82AAC #CD42D1 #DA73DD #E7A4E9

Accessibility & contrast

On white

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

On black

5.30
#CD42D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD42D1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD42D1#FFFFFF#000000##000000
##CD42D11.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2674D5
Deuteranopia (green-blind)
#6386CD
Tritanopia (blue-blind)
#D35885
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd42d1;
/* rgb */ color: rgb(205, 66, 209);
/* oklch */ color: oklch(63.0% 0.234 326.7);
Tailwind
colors: {
  custom: {
    50: '#e082df',
    500: '#cd42d1',
    950: '#000000',
  },
}
SCSS
$custom: #cd42d1;
$custom-light: #e082df;
$custom-dark: #000000;
JSON
{
  "hex": "#cd42d1",
  "rgb": {
    "r": 205,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 298.322,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62952,
    "c": 0.2344,
    "h": 326.7
  },
  "luminance": 0.21479
}

Semantic roles & 50–950 ramp

primary
#CD42D1
secondary
#9BD699
accent
#E44448
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CD42D1

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

Preview Lab → · Contrast checker → · Palette generator →

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