#CA52C4#CA52C4

#CA52C4 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.5% C 0.202 H 329.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CA52C4
RGBrgb(202, 82, 196)
HSLhsl(303, 53%, 56%)
HSVhsv(303, 59%, 79%)
CMYKcmyk(0%, 59.4%, 3%, 20.8%)
CIE-LABlab(54.64, 61.72, -37.11)
CIE-LCHlch(54.64, 72.02, 328.98°)
OKLaboklab(63.49% 0.1741 -0.102)
OKLCHoklch(63.49% 0.202 329.6)
XYZxyz(37.3379, 22.5792, 54.6055)
Luminance0.2258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52C4 #52CA58
analogous
#9452CA #CA52C4 #CA5288
triadic
#CA52C4 #C4CA52 #52C4CA
tetradic
#CA52C4 #CA9452 #52CA58 #5288CA
square
#CA52C4 #CA9452 #52CA58 #5288CA
split-complementary
#CA52C4 #88CA52 #52CA94
monochromatic
#7C2677 #AB34A5 #CA52C4 #D881D4 #E7B0E4

Accessibility & contrast

On white

3.81
#CA52C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CA52C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52C4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52C4#FFFFFF#000000##000000
##CA52C41.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4878C8
Deuteranopia (green-blind)
#7189C1
Tritanopia (blue-blind)
#D15F84
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca52c4;
/* rgb */ color: rgb(202, 82, 196);
/* oklch */ color: oklch(63.5% 0.202 329.6);
Tailwind
colors: {
  custom: {
    50: '#dd8ad6',
    500: '#ca52c4',
    950: '#000000',
  },
}
SCSS
$custom: #ca52c4;
$custom-light: #dd8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52c4",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 196
  },
  "hsl": {
    "h": 303,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63493,
    "c": 0.2018,
    "h": 329.6
  },
  "luminance": 0.22577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA52C4

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

Preview Lab → · Contrast checker → · Palette generator →

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