#CD45C8#CD45C8

#CD45C8 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.7% C 0.224 H 329.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CD45C8
RGBrgb(205, 69, 200)
HSLhsl(302, 58%, 54%)
HSVhsv(302, 66%, 80%)
CMYKcmyk(0%, 66.3%, 2.4%, 19.6%)
CIE-LABlab(53.39, 68.36, -41.34)
CIE-LCHlch(53.39, 79.88, 328.84°)
OKLaboklab(62.74% 0.1926 -0.114)
OKLCHoklch(62.74% 0.224 329.4)
XYZxyz(37.7300, 21.4082, 56.7774)
Luminance0.2141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45C8 #45CD4A
analogous
#8E45CD #CD45C8 #CD4584
triadic
#CD45C8 #C8CD45 #45C8CD
tetradic
#CD45C8 #CD8E45 #45CD4A #4584CD
square
#CD45C8 #CD8E45 #45CD4A #4584CD
split-complementary
#CD45C8 #84CD45 #45CD8E
monochromatic
#772074 #A82DA3 #CD45C8 #DA75D6 #E7A5E5

Accessibility & contrast

On white

3.98
#CD45C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CD45C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45C8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45C8#FFFFFF#000000##000000
##CD45C81.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3674CC
Deuteranopia (green-blind)
#6A86C4
Tritanopia (blue-blind)
#D45681
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd45c8;
/* rgb */ color: rgb(205, 69, 200);
/* oklch */ color: oklch(62.7% 0.224 329.4);
Tailwind
colors: {
  custom: {
    50: '#e083d9',
    500: '#cd45c8',
    950: '#000000',
  },
}
SCSS
$custom: #cd45c8;
$custom-light: #e083d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45c8",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 302.206,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62743,
    "c": 0.22383,
    "h": 329.4
  },
  "luminance": 0.21406
}

Semantic roles & 50–950 ramp

primary
#CD45C8
secondary
#9AD49C
accent
#E14D47
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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