#CA52E4#CA52E4

#CA52E4 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.2% C 0.229 H 320.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CA52E4
RGBrgb(202, 82, 228)
HSLhsl(289, 73%, 61%)
HSVhsv(289, 64%, 89%)
CMYKcmyk(11.4%, 64%, 0%, 10.6%)
CIE-LABlab(56.28, 67.38, -52.69)
CIE-LCHlch(56.28, 85.54, 321.98°)
OKLaboklab(65.22% 0.1757 -0.1472)
OKLCHoklch(65.22% 0.229 320.1)
XYZxyz(41.3763, 24.1945, 75.8743)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52E4 #6CE452
analogous
#8152E4 #CA52E4 #E452B5
triadic
#CA52E4 #E4CA52 #52E4CA
tetradic
#CA52E4 #E48152 #6CE452 #52B5E4
square
#CA52E4 #E48152 #6CE452 #52B5E4
split-complementary
#CA52E4 #B5E452 #52E481
monochromatic
#8A19A2 #B722D7 #CA52E4 #DA87EC #EABCF5

Accessibility & contrast

On white

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

On black

5.84
#CA52E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52E4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52E4#FFFFFF#000000##000000
##CA52E41.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#267FE8
Deuteranopia (green-blind)
#5E8BE0
Tritanopia (blue-blind)
#CB6B94
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca52e4;
/* rgb */ color: rgb(202, 82, 228);
/* oklch */ color: oklch(65.2% 0.229 320.1);
Tailwind
colors: {
  custom: {
    50: '#de8aed',
    500: '#ca52e4',
    950: '#000000',
  },
}
SCSS
$custom: #ca52e4;
$custom-light: #de8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52e4",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 289.315,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6522,
    "c": 0.22921,
    "h": 320.1
  },
  "luminance": 0.24193
}

Semantic roles & 50–950 ramp

primary
#CA52E4
secondary
#B7E5AD
accent
#D51033
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA52E4

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

Preview Lab → · Contrast checker → · Palette generator →

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