#CD45C1#CD45C1

#CD45C1 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.4% C 0.218 H 331.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CD45C1
RGBrgb(205, 69, 193)
HSLhsl(305, 58%, 54%)
HSVhsv(305, 66%, 80%)
CMYKcmyk(0%, 66.3%, 5.9%, 19.6%)
CIE-LABlab(53.05, 67.24, -37.85)
CIE-LCHlch(53.05, 77.16, 330.62°)
OKLaboklab(62.38% 0.1922 -0.1039)
OKLCHoklch(62.38% 0.218 331.6)
XYZxyz(36.9306, 21.0885, 52.5671)
Luminance0.2109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45C1 #45CD51
analogous
#9545CD #CD45C1 #CD457D
triadic
#CD45C1 #C1CD45 #45C1CD
tetradic
#CD45C1 #CD9545 #45CD51 #457DCD
square
#CD45C1 #CD9545 #45CD51 #457DCD
split-complementary
#CD45C1 #7DCD45 #45CD95
monochromatic
#772070 #A82D9D #CD45C1 #DA75D1 #E7A5E1

Accessibility & contrast

On white

4.03
#CD45C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CD45C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45C1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45C1#FFFFFF#000000##000000
##CD45C11.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D72C5
Deuteranopia (green-blind)
#6D85BE
Tritanopia (blue-blind)
#D5537D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd45c1;
/* rgb */ color: rgb(205, 69, 193);
/* oklch */ color: oklch(62.4% 0.218 331.6);
Tailwind
colors: {
  custom: {
    50: '#e083d4',
    500: '#cd45c1',
    950: '#000000',
  },
}
SCSS
$custom: #cd45c1;
$custom-light: #e083d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45c1",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 305.294,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6238,
    "c": 0.21847,
    "h": 331.6
  },
  "luminance": 0.21086
}

Semantic roles & 50–950 ramp

primary
#CD45C1
secondary
#9AD49F
accent
#E15547
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD45C1

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

Preview Lab → · Contrast checker → · Palette generator →

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