#CD45D1#CD45D1

#CD45D1 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.2% C 0.231 H 326.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#CD45D1
RGBrgb(205, 69, 209)
HSLhsl(298, 60%, 55%)
HSVhsv(298, 67%, 82%)
CMYKcmyk(1.9%, 67%, 0%, 18%)
CIE-LABlab(53.86, 69.84, -45.75)
CIE-LCHlch(53.86, 83.49, 326.77°)
OKLaboklab(63.23% 0.193 -0.1268)
OKLCHoklch(63.23% 0.231 326.7)
XYZxyz(38.8129, 21.8414, 62.4807)
Luminance0.2184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45D1 #49D145
analogous
#8745D1 #CD45D1 #D1458F
triadic
#CD45D1 #D1CD45 #45D1CD
tetradic
#CD45D1 #D18745 #49D145 #458FD1
square
#CD45D1 #D18745 #49D145 #458FD1
split-complementary
#CD45D1 #8FD145 #45D187
monochromatic
#7A1F7D #AA2BAE #CD45D1 #DA76DD #E7A7E9

Accessibility & contrast

On white

3.91
#CD45D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CD45D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45D1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45D1#FFFFFF#000000##000000
##CD45D11.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C76D5
Deuteranopia (green-blind)
#6587CD
Tritanopia (blue-blind)
#D35A86
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd45d1;
/* rgb */ color: rgb(205, 69, 209);
/* oklch */ color: oklch(63.2% 0.231 326.7);
Tailwind
colors: {
  custom: {
    50: '#e084df',
    500: '#cd45d1',
    950: '#000000',
  },
}
SCSS
$custom: #cd45d1;
$custom-light: #e084df;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45d1",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 298.286,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.63229,
    "c": 0.23089,
    "h": 326.7
  },
  "luminance": 0.21839
}

Semantic roles & 50–950 ramp

primary
#CD45D1
secondary
#9DD79B
accent
#E34449
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD45D1

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

Preview Lab → · Contrast checker → · Palette generator →

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