#CD45C3#CD45C3

#CD45C3 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.5% C 0.220 H 330.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CD45C3
RGBrgb(205, 69, 195)
HSLhsl(304, 58%, 54%)
HSVhsv(304, 66%, 80%)
CMYKcmyk(0%, 66.3%, 4.9%, 19.6%)
CIE-LABlab(53.14, 67.56, -38.85)
CIE-LCHlch(53.14, 77.93, 330.10°)
OKLaboklab(62.48% 0.1923 -0.1068)
OKLCHoklch(62.48% 0.22 330.9)
XYZxyz(37.1552, 21.1783, 53.7501)
Luminance0.2118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45C3 #45CD4F
analogous
#9345CD #CD45C3 #CD457F
triadic
#CD45C3 #C3CD45 #45C3CD
tetradic
#CD45C3 #CD9345 #45CD4F #457FCD
square
#CD45C3 #CD9345 #45CD4F #457FCD
split-complementary
#CD45C3 #7FCD45 #45CD93
monochromatic
#772071 #A82D9F #CD45C3 #DA75D3 #E7A5E2

Accessibility & contrast

On white

4.01
#CD45C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CD45C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45C3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45C3#FFFFFF#000000##000000
##CD45C31.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B73C7
Deuteranopia (green-blind)
#6C86C0
Tritanopia (blue-blind)
#D5547E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd45c3;
/* rgb */ color: rgb(205, 69, 195);
/* oklch */ color: oklch(62.5% 0.220 330.9);
Tailwind
colors: {
  custom: {
    50: '#e083d5',
    500: '#cd45c3',
    950: '#000000',
  },
}
SCSS
$custom: #cd45c3;
$custom-light: #e083d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45c3",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 304.412,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62482,
    "c": 0.21999,
    "h": 330.9
  },
  "luminance": 0.21176
}

Semantic roles & 50–950 ramp

primary
#CD45C3
secondary
#9AD49E
accent
#E15247
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD45C3

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

Preview Lab → · Contrast checker → · Palette generator →

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