#CD45C6#CD45C6

#CD45C6 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.6% C 0.222 H 330.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#CD45C6
RGBrgb(205, 69, 198)
HSLhsl(303, 58%, 54%)
HSVhsv(303, 66%, 80%)
CMYKcmyk(0%, 66.3%, 3.4%, 19.6%)
CIE-LABlab(53.29, 68.04, -40.34)
CIE-LCHlch(53.29, 79.10, 329.33°)
OKLaboklab(62.64% 0.1925 -0.1111)
OKLCHoklch(62.64% 0.222 330)
XYZxyz(37.4978, 21.3154, 55.5544)
Luminance0.2131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45C6 #45CD4C
analogous
#9045CD #CD45C6 #CD4582
triadic
#CD45C6 #C6CD45 #45C6CD
tetradic
#CD45C6 #CD9045 #45CD4C #4582CD
square
#CD45C6 #CD9045 #45CD4C #4582CD
split-complementary
#CD45C6 #82CD45 #45CD90
monochromatic
#772073 #A82DA1 #CD45C6 #DA75D5 #E7A5E4

Accessibility & contrast

On white

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

On black

5.26
#CD45C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45C6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45C6#FFFFFF#000000##000000
##CD45C61.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3873CA
Deuteranopia (green-blind)
#6B86C2
Tritanopia (blue-blind)
#D45580
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd45c6;
/* rgb */ color: rgb(205, 69, 198);
/* oklch */ color: oklch(62.6% 0.222 330.0);
Tailwind
colors: {
  custom: {
    50: '#e083d8',
    500: '#cd45c6',
    950: '#000000',
  },
}
SCSS
$custom: #cd45c6;
$custom-light: #e083d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45c6",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 198
  },
  "hsl": {
    "h": 303.088,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62638,
    "c": 0.22229,
    "h": 330
  },
  "luminance": 0.21313
}

Semantic roles & 50–950 ramp

primary
#CD45C6
secondary
#9AD49D
accent
#E14F47
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD45C6

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

Preview Lab → · Contrast checker → · Palette generator →

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