#CD45BD#CD45BD

#CD45BD is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.2% C 0.215 H 332.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CD45BD
RGBrgb(205, 69, 189)
HSLhsl(307, 58%, 54%)
HSVhsv(307, 66%, 80%)
CMYKcmyk(0%, 66.3%, 7.8%, 19.6%)
CIE-LABlab(52.85, 66.62, -35.84)
CIE-LCHlch(52.85, 75.65, 331.72°)
OKLaboklab(62.18% 0.1918 -0.0982)
OKLCHoklch(62.18% 0.215 332.9)
XYZxyz(36.4904, 20.9124, 50.2489)
Luminance0.2091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45BD #45CD55
analogous
#9945CD #CD45BD #CD4579
triadic
#CD45BD #BDCD45 #45BDCD
tetradic
#CD45BD #CD9945 #45CD55 #4579CD
square
#CD45BD #CD9945 #45CD55 #4579CD
split-complementary
#CD45BD #79CD45 #45CD99
monochromatic
#77206D #A82D99 #CD45BD #DA75CE #E7A5DF

Accessibility & contrast

On white

4.05
#CD45BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CD45BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45BD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45BD#FFFFFF#000000##000000
##CD45BD1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4072C0
Deuteranopia (green-blind)
#6F85BA
Tritanopia (blue-blind)
#D6517B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd45bd;
/* rgb */ color: rgb(205, 69, 189);
/* oklch */ color: oklch(62.2% 0.215 332.9);
Tailwind
colors: {
  custom: {
    50: '#e083d1',
    500: '#cd45bd',
    950: '#000000',
  },
}
SCSS
$custom: #cd45bd;
$custom-light: #e083d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45bd",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 307.059,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62177,
    "c": 0.21548,
    "h": 332.9
  },
  "luminance": 0.2091
}

Semantic roles & 50–950 ramp

primary
#CD45BD
secondary
#9AD4A1
accent
#E15947
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CD45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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