#CA52C6#CA52C6

#CA52C6 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.6% C 0.203 H 329.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CA52C6
RGBrgb(202, 82, 198)
HSLhsl(302, 53%, 56%)
HSVhsv(302, 59%, 79%)
CMYKcmyk(0%, 59.4%, 2%, 20.8%)
CIE-LABlab(54.73, 62.06, -38.11)
CIE-LCHlch(54.73, 72.83, 328.45°)
OKLaboklab(63.59% 0.1743 -0.1049)
OKLCHoklch(63.59% 0.203 329)
XYZxyz(37.5671, 22.6709, 55.8124)
Luminance0.2267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52C6 #52CA56
analogous
#9252CA #CA52C6 #CA528A
triadic
#CA52C6 #C6CA52 #52C6CA
tetradic
#CA52C6 #CA9252 #52CA56 #528ACA
square
#CA52C6 #CA9252 #52CA56 #528ACA
split-complementary
#CA52C6 #8ACA52 #52CA92
monochromatic
#7C2679 #AB34A7 #CA52C6 #D881D5 #E7B0E5

Accessibility & contrast

On white

3.79
#CA52C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CA52C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52C6
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52C6#FFFFFF#000000##000000
##CA52C61.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4779CA
Deuteranopia (green-blind)
#7089C3
Tritanopia (blue-blind)
#D05F85
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca52c6;
/* rgb */ color: rgb(202, 82, 198);
/* oklch */ color: oklch(63.6% 0.203 329.0);
Tailwind
colors: {
  custom: {
    50: '#dd8ad7',
    500: '#ca52c6',
    950: '#000000',
  },
}
SCSS
$custom: #ca52c6;
$custom-light: #dd8ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52c6",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 198
  },
  "hsl": {
    "h": 302,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63593,
    "c": 0.20344,
    "h": 329
  },
  "luminance": 0.22668
}

Semantic roles & 50–950 ramp

primary
#CA52C6
secondary
#A3D5A5
accent
#DD504B
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #CA52C6

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

Preview Lab → · Contrast checker → · Palette generator →

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