#CD45B9#CD45B9

#CD45B9 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 62.0% C 0.213 H 334.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CD45B9
RGBrgb(205, 69, 185)
HSLhsl(309, 58%, 54%)
HSVhsv(309, 66%, 80%)
CMYKcmyk(0%, 66.3%, 9.8%, 19.6%)
CIE-LABlab(52.66, 66.00, -33.82)
CIE-LCHlch(52.66, 74.16, 332.87°)
OKLaboklab(61.98% 0.1914 -0.0924)
OKLCHoklch(61.98% 0.213 334.2)
XYZxyz(36.0622, 20.7411, 47.9937)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45B9 #45CD59
analogous
#9D45CD #CD45B9 #CD4575
triadic
#CD45B9 #B9CD45 #45B9CD
tetradic
#CD45B9 #CD9D45 #45CD59 #4575CD
square
#CD45B9 #CD9D45 #45CD59 #4575CD
split-complementary
#CD45B9 #75CD45 #45CD9D
monochromatic
#77206B #A82D96 #CD45B9 #DA75CB #E7A5DD

Accessibility & contrast

On white

4.08
#CD45B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CD45B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45B9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45B9#FFFFFF#000000##000000
##CD45B91.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4371BC
Deuteranopia (green-blind)
#7185B6
Tritanopia (blue-blind)
#D64F79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd45b9;
/* rgb */ color: rgb(205, 69, 185);
/* oklch */ color: oklch(62.0% 0.213 334.2);
Tailwind
colors: {
  custom: {
    50: '#e083ce',
    500: '#cd45b9',
    950: '#000000',
  },
}
SCSS
$custom: #cd45b9;
$custom-light: #e083ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45b9",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 308.824,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61979,
    "c": 0.21253,
    "h": 334.2
  },
  "luminance": 0.20738
}

Semantic roles & 50–950 ramp

primary
#CD45B9
secondary
#9AD4A2
accent
#E15E47
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD45B9

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

Preview Lab → · Contrast checker → · Palette generator →

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