#CA52C1#CA52C1

#CA52C1 is a light, vivid purple. Relative luminance 0.224; OKLCH L 63.3% C 0.199 H 330.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CA52C1
RGBrgb(202, 82, 193)
HSLhsl(305, 53%, 56%)
HSVhsv(305, 59%, 79%)
CMYKcmyk(0%, 59.4%, 4.5%, 20.8%)
CIE-LABlab(54.49, 61.22, -35.61)
CIE-LCHlch(54.49, 70.83, 329.82°)
OKLaboklab(63.34% 0.1738 -0.0977)
OKLCHoklch(63.34% 0.199 330.7)
XYZxyz(36.9998, 22.4440, 52.8251)
Luminance0.2244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52C1 #52CA5B
analogous
#9752CA #CA52C1 #CA5285
triadic
#CA52C1 #C1CA52 #52C1CA
tetradic
#CA52C1 #CA9752 #52CA5B #5285CA
square
#CA52C1 #CA9752 #52CA5B #5285CA
split-complementary
#CA52C1 #85CA52 #52CA97
monochromatic
#7C2675 #AB34A2 #CA52C1 #D881D2 #E7B0E3

Accessibility & contrast

On white

3.83
#CA52C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CA52C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52C1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52C1#FFFFFF#000000##000000
##CA52C11.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C4
Deuteranopia (green-blind)
#7288BE
Tritanopia (blue-blind)
#D15E82
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca52c1;
/* rgb */ color: rgb(202, 82, 193);
/* oklch */ color: oklch(63.3% 0.199 330.7);
Tailwind
colors: {
  custom: {
    50: '#dd8ad4',
    500: '#ca52c1',
    950: '#000000',
  },
}
SCSS
$custom: #ca52c1;
$custom-light: #dd8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52c1",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 193
  },
  "hsl": {
    "h": 304.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63344,
    "c": 0.19936,
    "h": 330.7
  },
  "luminance": 0.22441
}

Semantic roles & 50–950 ramp

primary
#CA52C1
secondary
#A3D5A7
accent
#DD564B
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #CA52C1

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

Preview Lab → · Contrast checker → · Palette generator →

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