#CD45CA#CD45CA

#CD45CA is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.8% C 0.225 H 328.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CD45CA
RGBrgb(205, 69, 202)
HSLhsl(301, 58%, 54%)
HSVhsv(301, 66%, 80%)
CMYKcmyk(0%, 66.3%, 1.5%, 19.6%)
CIE-LABlab(53.49, 68.68, -42.32)
CIE-LCHlch(53.49, 80.68, 328.36°)
OKLaboklab(62.85% 0.1927 -0.1169)
OKLCHoklch(62.85% 0.225 328.8)
XYZxyz(37.9652, 21.5023, 58.0164)
Luminance0.2150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45CA #45CD48
analogous
#8C45CD #CD45CA #CD4586
triadic
#CD45CA #CACD45 #45CACD
tetradic
#CD45CA #CD8C45 #45CD48 #4586CD
square
#CD45CA #CD8C45 #45CD48 #4586CD
split-complementary
#CD45CA #86CD45 #45CD8C
monochromatic
#772076 #A82DA5 #CD45CA #DA75D8 #E7A5E5

Accessibility & contrast

On white

3.96
#CD45CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CD45CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45CA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45CA#FFFFFF#000000##000000
##CD45CA1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3474CE
Deuteranopia (green-blind)
#6986C6
Tritanopia (blue-blind)
#D45782
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd45ca;
/* rgb */ color: rgb(205, 69, 202);
/* oklch */ color: oklch(62.8% 0.225 328.8);
Tailwind
colors: {
  custom: {
    50: '#e083da',
    500: '#cd45ca',
    950: '#000000',
  },
}
SCSS
$custom: #cd45ca;
$custom-light: #e083da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45ca",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 301.324,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6285,
    "c": 0.22538,
    "h": 328.8
  },
  "luminance": 0.215
}

Semantic roles & 50–950 ramp

primary
#CD45CA
secondary
#9AD49B
accent
#E14A47
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CD45CA

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

Preview Lab → · Contrast checker → · Palette generator →

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