#CD45C5#CD45C5

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

Color values

HEX#CD45C5
RGBrgb(205, 69, 197)
HSLhsl(304, 58%, 54%)
HSVhsv(304, 66%, 80%)
CMYKcmyk(0%, 66.3%, 3.9%, 19.6%)
CIE-LABlab(53.24, 67.88, -39.85)
CIE-LCHlch(53.24, 78.71, 329.58°)
OKLaboklab(62.59% 0.1925 -0.1097)
OKLCHoklch(62.59% 0.222 330.3)
XYZxyz(37.3828, 21.2694, 54.9490)
Luminance0.2127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45C5 #45CD4D
analogous
#9145CD #CD45C5 #CD4581
triadic
#CD45C5 #C5CD45 #45C5CD
tetradic
#CD45C5 #CD9145 #45CD4D #4581CD
square
#CD45C5 #CD9145 #45CD4D #4581CD
split-complementary
#CD45C5 #81CD45 #45CD91
monochromatic
#772072 #A82DA1 #CD45C5 #DA75D4 #E7A5E3

Accessibility & contrast

On white

4.00
#CD45C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CD45C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45C5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45C5#FFFFFF#000000##000000
##CD45C51.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3973C9
Deuteranopia (green-blind)
#6B86C1
Tritanopia (blue-blind)
#D5557F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd45c5;
/* rgb */ color: rgb(205, 69, 197);
/* oklch */ color: oklch(62.6% 0.222 330.3);
Tailwind
colors: {
  custom: {
    50: '#e083d7',
    500: '#cd45c5',
    950: '#000000',
  },
}
SCSS
$custom: #cd45c5;
$custom-light: #e083d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45c5",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 303.529,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62586,
    "c": 0.22152,
    "h": 330.3
  },
  "luminance": 0.21267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD45C5

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

Preview Lab → · Contrast checker → · Palette generator →

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