#CA52C2#CA52C2

#CA52C2 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.4% C 0.200 H 330.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#CA52C2
RGBrgb(202, 82, 194)
HSLhsl(304, 53%, 56%)
HSVhsv(304, 59%, 79%)
CMYKcmyk(0%, 59.4%, 4%, 20.8%)
CIE-LABlab(54.54, 61.39, -36.11)
CIE-LCHlch(54.54, 71.22, 329.53°)
OKLaboklab(63.39% 0.1739 -0.0991)
OKLCHoklch(63.39% 0.2 330.3)
XYZxyz(37.1118, 22.4887, 53.4146)
Luminance0.2249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52C2 #52CA5A
analogous
#9652CA #CA52C2 #CA5286
triadic
#CA52C2 #C2CA52 #52C2CA
tetradic
#CA52C2 #CA9652 #52CA5A #5286CA
square
#CA52C2 #CA9652 #52CA5A #5286CA
split-complementary
#CA52C2 #86CA52 #52CA96
monochromatic
#7C2676 #AB34A3 #CA52C2 #D881D3 #E7B0E3

Accessibility & contrast

On white

3.82
#CA52C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#CA52C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52C2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52C2#FFFFFF#000000##000000
##CA52C21.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C5
Deuteranopia (green-blind)
#7188BF
Tritanopia (blue-blind)
#D15E82
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca52c2;
/* rgb */ color: rgb(202, 82, 194);
/* oklch */ color: oklch(63.4% 0.200 330.3);
Tailwind
colors: {
  custom: {
    50: '#dd8ad5',
    500: '#ca52c2',
    950: '#000000',
  },
}
SCSS
$custom: #ca52c2;
$custom-light: #dd8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52c2",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 304,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63393,
    "c": 0.20017,
    "h": 330.3
  },
  "luminance": 0.22486
}

Semantic roles & 50–950 ramp

primary
#CA52C2
secondary
#A3D5A6
accent
#DD554B
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #CA52C2

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

Preview Lab → · Contrast checker → · Palette generator →

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