#CD45B7#CD45B7

#CD45B7 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.9% C 0.211 H 334.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CD45B7
RGBrgb(205, 69, 183)
HSLhsl(310, 58%, 54%)
HSVhsv(310, 66%, 80%)
CMYKcmyk(0%, 66.3%, 10.7%, 19.6%)
CIE-LABlab(52.57, 65.70, -32.80)
CIE-LCHlch(52.57, 73.43, 333.47°)
OKLaboklab(61.88% 0.1912 -0.0895)
OKLCHoklch(61.88% 0.211 334.9)
XYZxyz(35.8525, 20.6573, 46.8895)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45B7 #45CD5B
analogous
#9F45CD #CD45B7 #CD4573
triadic
#CD45B7 #B7CD45 #45B7CD
tetradic
#CD45B7 #CD9F45 #45CD5B #4573CD
square
#CD45B7 #CD9F45 #45CD5B #4573CD
split-complementary
#CD45B7 #73CD45 #45CD9F
monochromatic
#772069 #A82D94 #CD45B7 #DA75CA #E7A5DC

Accessibility & contrast

On white

4.09
#CD45B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CD45B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45B7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45B7#FFFFFF#000000##000000
##CD45B71.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4471BA
Deuteranopia (green-blind)
#7285B4
Tritanopia (blue-blind)
#D74F78
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd45b7;
/* rgb */ color: rgb(205, 69, 183);
/* oklch */ color: oklch(61.9% 0.211 334.9);
Tailwind
colors: {
  custom: {
    50: '#e083cd',
    500: '#cd45b7',
    950: '#000000',
  },
}
SCSS
$custom: #cd45b7;
$custom-light: #e083cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45b7",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 309.706,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61882,
    "c": 0.21108,
    "h": 334.9
  },
  "luminance": 0.20654
}

Semantic roles & 50–950 ramp

primary
#CD45B7
secondary
#9AD4A3
accent
#E16047
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD45B7

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

Preview Lab → · Contrast checker → · Palette generator →

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