#CD45C9#CD45C9

#CD45C9 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.8% C 0.225 H 329.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CD45C9
RGBrgb(205, 69, 201)
HSLhsl(302, 58%, 54%)
HSVhsv(302, 66%, 80%)
CMYKcmyk(0%, 66.3%, 2%, 19.6%)
CIE-LABlab(53.44, 68.52, -41.83)
CIE-LCHlch(53.44, 80.28, 328.60°)
OKLaboklab(62.8% 0.1927 -0.1154)
OKLCHoklch(62.8% 0.225 329.1)
XYZxyz(37.8472, 21.4551, 57.3949)
Luminance0.2145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45C9 #45CD49
analogous
#8D45CD #CD45C9 #CD4585
triadic
#CD45C9 #C9CD45 #45C9CD
tetradic
#CD45C9 #CD8D45 #45CD49 #4585CD
square
#CD45C9 #CD8D45 #45CD49 #4585CD
split-complementary
#CD45C9 #85CD45 #45CD8D
monochromatic
#772075 #A82DA4 #CD45C9 #DA75D7 #E7A5E5

Accessibility & contrast

On white

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

On black

5.29
#CD45C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45C9
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45C9#FFFFFF#000000##000000
##CD45C91.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3574CD
Deuteranopia (green-blind)
#6986C5
Tritanopia (blue-blind)
#D45682
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd45c9;
/* rgb */ color: rgb(205, 69, 201);
/* oklch */ color: oklch(62.8% 0.225 329.1);
Tailwind
colors: {
  custom: {
    50: '#e083da',
    500: '#cd45c9',
    950: '#000000',
  },
}
SCSS
$custom: #cd45c9;
$custom-light: #e083da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45c9",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 301.765,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62796,
    "c": 0.22461,
    "h": 329.1
  },
  "luminance": 0.21452
}

Semantic roles & 50–950 ramp

primary
#CD45C9
secondary
#9AD49C
accent
#E14B47
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD45C9

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

Preview Lab → · Contrast checker → · Palette generator →

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