#CA52E8#CA52E8

#CA52E8 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.5% C 0.233 H 319.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CA52E8
RGBrgb(202, 82, 232)
HSLhsl(288, 77%, 62%)
HSVhsv(288, 65%, 91%)
CMYKcmyk(12.9%, 64.7%, 0%, 9%)
CIE-LABlab(56.51, 68.13, -54.58)
CIE-LCHlch(56.51, 87.30, 321.30°)
OKLaboklab(65.45% 0.1757 -0.1527)
OKLCHoklch(65.45% 0.233 319)
XYZxyz(41.9380, 24.4192, 78.8326)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52E8 #70E852
analogous
#7F52E8 #CA52E8 #E852BB
triadic
#CA52E8 #E8CA52 #52E8CA
tetradic
#CA52E8 #E87F52 #70E852 #52BBE8
square
#CA52E8 #E87F52 #70E852 #52BBE8
split-complementary
#CA52E8 #BBE852 #52E87F
monochromatic
#8C16A9 #B81EDF #CA52E8 #DB88EF #EBBEF6

Accessibility & contrast

On white

3.57
#CA52E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CA52E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52E8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52E8#FFFFFF#000000##000000
##CA52E81.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7FEC
Deuteranopia (green-blind)
#5B8CE4
Tritanopia (blue-blind)
#CA6C96
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca52e8;
/* rgb */ color: rgb(202, 82, 232);
/* oklch */ color: oklch(65.5% 0.233 319.0);
Tailwind
colors: {
  custom: {
    50: '#de8bf0',
    500: '#ca52e8',
    950: '#000000',
  },
}
SCSS
$custom: #ca52e8;
$custom-light: #de8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52e8",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 288,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65453,
    "c": 0.23276,
    "h": 319
  },
  "luminance": 0.24417
}

Semantic roles & 50–950 ramp

primary
#CA52E8
secondary
#BAE7AF
accent
#D90D36
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CA52E8

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

Preview Lab → · Contrast checker → · Palette generator →

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