#CA45C5#CA45C5

#CA45C5 is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.2% C 0.220 H 329.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CA45C5
RGBrgb(202, 69, 197)
HSLhsl(302, 56%, 53%)
HSVhsv(302, 66%, 79%)
CMYKcmyk(0%, 65.8%, 2.5%, 20.8%)
CIE-LABlab(52.78, 67.17, -40.61)
CIE-LCHlch(52.78, 78.49, 328.85°)
OKLaboklab(62.16% 0.1893 -0.112)
OKLCHoklch(62.16% 0.22 329.4)
XYZxyz(36.5630, 20.8466, 54.9105)
Luminance0.2084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45C5 #45CA4A
analogous
#8D45CA #CA45C5 #CA4582
triadic
#CA45C5 #C5CA45 #45C5CA
tetradic
#CA45C5 #CA8D45 #45CA4A #4582CA
square
#CA45C5 #CA8D45 #45CA4A #4582CA
split-complementary
#CA45C5 #82CA45 #45CA8D
monochromatic
#742171 #A32F9F #CA45C5 #D875D4 #E5A4E3

Accessibility & contrast

On white

4.06
#CA45C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CA45C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45C5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45C5#FFFFFF#000000##000000
##CA45C51.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3772C9
Deuteranopia (green-blind)
#6984C2
Tritanopia (blue-blind)
#D1557F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca45c5;
/* rgb */ color: rgb(202, 69, 197);
/* oklch */ color: oklch(62.2% 0.220 329.4);
Tailwind
colors: {
  custom: {
    50: '#de83d7',
    500: '#ca45c5',
    950: '#000000',
  },
}
SCSS
$custom: #ca45c5;
$custom-light: #de83d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45c5",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 302.256,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.62162,
    "c": 0.21991,
    "h": 329.4
  },
  "luminance": 0.20844
}

Semantic roles & 50–950 ramp

primary
#CA45C5
secondary
#99D29B
accent
#DF4E49
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CA45C5

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

Preview Lab → · Contrast checker → · Palette generator →

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