#CD45D2#CD45D2

#CD45D2 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.3% C 0.232 H 326.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#CD45D2
RGBrgb(205, 69, 210)
HSLhsl(298, 61%, 55%)
HSVhsv(298, 67%, 82%)
CMYKcmyk(2.4%, 67.1%, 0%, 17.6%)
CIE-LABlab(53.91, 70.00, -46.24)
CIE-LCHlch(53.91, 83.90, 326.55°)
OKLaboklab(63.28% 0.193 -0.1282)
OKLCHoklch(63.28% 0.232 326.4)
XYZxyz(38.9371, 21.8911, 63.1348)
Luminance0.2189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45D2 #4AD245
analogous
#8645D2 #CD45D2 #D24591
triadic
#CD45D2 #D2CD45 #45D2CD
tetradic
#CD45D2 #D28645 #4AD245 #4591D2
square
#CD45D2 #D28645 #4AD245 #4591D2
split-complementary
#CD45D2 #91D245 #45D286
monochromatic
#7B1F7E #AB2AAF #CD45D2 #DA76DE #E7A8EA

Accessibility & contrast

On white

3.90
#CD45D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#CD45D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45D2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45D2#FFFFFF#000000##000000
##CD45D21.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A76D6
Deuteranopia (green-blind)
#6487CE
Tritanopia (blue-blind)
#D25A86
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd45d2;
/* rgb */ color: rgb(205, 69, 210);
/* oklch */ color: oklch(63.3% 0.232 326.4);
Tailwind
colors: {
  custom: {
    50: '#e084e0',
    500: '#cd45d2',
    950: '#000000',
  },
}
SCSS
$custom: #cd45d2;
$custom-light: #e084e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45d2",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 297.872,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63284,
    "c": 0.23168,
    "h": 326.4
  },
  "luminance": 0.21889
}

Semantic roles & 50–950 ramp

primary
#CD45D2
secondary
#9ED79C
accent
#E44449
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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