#CD45D6#CD45D6

#CD45D6 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.5% C 0.235 H 325.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CD45D6
RGBrgb(205, 69, 214)
HSLhsl(296, 64%, 55%)
HSVhsv(296, 68%, 84%)
CMYKcmyk(4.2%, 67.8%, 0%, 16.1%)
CIE-LABlab(54.13, 70.68, -48.18)
CIE-LCHlch(54.13, 85.54, 325.72°)
OKLaboklab(63.51% 0.193 -0.1338)
OKLCHoklch(63.51% 0.235 325.3)
XYZxyz(39.4417, 22.0929, 65.7922)
Luminance0.2209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45D6 #4ED645
analogous
#8445D6 #CD45D6 #D64596
triadic
#CD45D6 #D6CD45 #45D6CD
tetradic
#CD45D6 #D68445 #4ED645 #4596D6
square
#CD45D6 #D68445 #4ED645 #4596D6
split-complementary
#CD45D6 #96D645 #45D684
monochromatic
#7D1D84 #AD28B6 #CD45D6 #DA77E1 #E8A9EC

Accessibility & contrast

On white

3.88
#CD45D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CD45D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45D6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45D6#FFFFFF#000000##000000
##CD45D61.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2477DA
Deuteranopia (green-blind)
#6287D2
Tritanopia (blue-blind)
#D25C89
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd45d6;
/* rgb */ color: rgb(205, 69, 214);
/* oklch */ color: oklch(63.5% 0.235 325.3);
Tailwind
colors: {
  custom: {
    50: '#e084e3',
    500: '#cd45d6',
    950: '#000000',
  },
}
SCSS
$custom: #cd45d6;
$custom-light: #e084e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45d6",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 296.276,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63508,
    "c": 0.23488,
    "h": 325.3
  },
  "luminance": 0.2209
}

Semantic roles & 50–950 ramp

primary
#CD45D6
secondary
#A1DA9D
accent
#E7414B
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CD45D6

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

Preview Lab → · Contrast checker → · Palette generator →

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