#CD45C7#CD45C7

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

Color values

HEX#CD45C7
RGBrgb(205, 69, 199)
HSLhsl(303, 58%, 54%)
HSVhsv(303, 66%, 80%)
CMYKcmyk(0%, 66.3%, 2.9%, 19.6%)
CIE-LABlab(53.34, 68.20, -40.84)
CIE-LCHlch(53.34, 79.49, 329.08°)
OKLaboklab(62.69% 0.1926 -0.1126)
OKLCHoklch(62.69% 0.223 329.7)
XYZxyz(37.6135, 21.3616, 56.1639)
Luminance0.2136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45C7 #45CD4B
analogous
#8F45CD #CD45C7 #CD4583
triadic
#CD45C7 #C7CD45 #45C7CD
tetradic
#CD45C7 #CD8F45 #45CD4B #4583CD
square
#CD45C7 #CD8F45 #45CD4B #4583CD
split-complementary
#CD45C7 #83CD45 #45CD8F
monochromatic
#772074 #A82DA2 #CD45C7 #DA75D6 #E7A5E4

Accessibility & contrast

On white

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

On black

5.27
#CD45C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45C7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45C7#FFFFFF#000000##000000
##CD45C71.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3774CB
Deuteranopia (green-blind)
#6A86C3
Tritanopia (blue-blind)
#D45580
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd45c7;
/* rgb */ color: rgb(205, 69, 199);
/* oklch */ color: oklch(62.7% 0.223 329.7);
Tailwind
colors: {
  custom: {
    50: '#e083d8',
    500: '#cd45c7',
    950: '#000000',
  },
}
SCSS
$custom: #cd45c7;
$custom-light: #e083d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45c7",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 302.647,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62691,
    "c": 0.22306,
    "h": 329.7
  },
  "luminance": 0.21359
}

Semantic roles & 50–950 ramp

primary
#CD45C7
secondary
#9AD49C
accent
#E14E47
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CD45C7

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

Preview Lab → · Contrast checker → · Palette generator →

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