#CA52E9#CA52E9

#CA52E9 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.5% C 0.234 H 318.7°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CA52E9
RGBrgb(202, 82, 233)
HSLhsl(288, 77%, 62%)
HSVhsv(288, 65%, 91%)
CMYKcmyk(13.3%, 64.8%, 0%, 8.6%)
CIE-LABlab(56.56, 68.32, -55.05)
CIE-LCHlch(56.56, 87.74, 321.14°)
OKLaboklab(65.51% 0.1757 -0.1541)
OKLCHoklch(65.51% 0.234 318.7)
XYZxyz(42.0804, 24.4762, 79.5828)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52E9 #71E952
analogous
#7F52E9 #CA52E9 #E952BD
triadic
#CA52E9 #E9CA52 #52E9CA
tetradic
#CA52E9 #E97F52 #71E952 #52BDE9
square
#CA52E9 #E97F52 #71E952 #52BDE9
split-complementary
#CA52E9 #BDE952 #52E97F
monochromatic
#8C16AB #B91DE1 #CA52E9 #DB88F0 #EBBFF7

Accessibility & contrast

On white

3.56
#CA52E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CA52E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52E9
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52E9#FFFFFF#000000##000000
##CA52E91.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C80ED
Deuteranopia (green-blind)
#5B8CE5
Tritanopia (blue-blind)
#CA6D97
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca52e9;
/* rgb */ color: rgb(202, 82, 233);
/* oklch */ color: oklch(65.5% 0.234 318.7);
Tailwind
colors: {
  custom: {
    50: '#de8bf1',
    500: '#ca52e9',
    950: '#000000',
  },
}
SCSS
$custom: #ca52e9;
$custom-light: #de8bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52e9",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 287.682,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65512,
    "c": 0.23365,
    "h": 318.7
  },
  "luminance": 0.24474
}

Semantic roles & 50–950 ramp

primary
#CA52E9
secondary
#BBE7AF
accent
#DA0C36
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CA52E9

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

Preview Lab → · Contrast checker → · Palette generator →

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