#CA52E3#CA52E3

#CA52E3 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.2% C 0.228 H 320.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#CA52E3
RGBrgb(202, 82, 227)
HSLhsl(290, 72%, 61%)
HSVhsv(290, 64%, 89%)
CMYKcmyk(11%, 63.9%, 0%, 11%)
CIE-LABlab(56.23, 67.20, -52.21)
CIE-LCHlch(56.23, 85.10, 322.15°)
OKLaboklab(65.16% 0.1757 -0.1458)
OKLCHoklch(65.16% 0.228 320.3)
XYZxyz(41.2379, 24.1392, 75.1453)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52E3 #6BE352
analogous
#8152E3 #CA52E3 #E352B3
triadic
#CA52E3 #E3CA52 #52E3CA
tetradic
#CA52E3 #E38152 #6BE352 #52B3E3
square
#CA52E3 #E38152 #6BE352 #52B3E3
split-complementary
#CA52E3 #B3E352 #52E381
monochromatic
#891AA1 #B623D5 #CA52E3 #DA87EC #EABBF4

Accessibility & contrast

On white

3.60
#CA52E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#CA52E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52E3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52E3#FFFFFF#000000##000000
##CA52E31.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#287EE7
Deuteranopia (green-blind)
#5F8BDF
Tritanopia (blue-blind)
#CB6B94
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca52e3;
/* rgb */ color: rgb(202, 82, 227);
/* oklch */ color: oklch(65.2% 0.228 320.3);
Tailwind
colors: {
  custom: {
    50: '#de8aec',
    500: '#ca52e3',
    950: '#000000',
  },
}
SCSS
$custom: #ca52e3;
$custom-light: #de8aec;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52e3",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 227
  },
  "hsl": {
    "h": 289.655,
    "s": 72.139,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65163,
    "c": 0.22832,
    "h": 320.3
  },
  "luminance": 0.24137
}

Semantic roles & 50–950 ramp

primary
#CA52E3
secondary
#B6E4AD
accent
#D41133
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA52E3

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

Preview Lab → · Contrast checker → · Palette generator →

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