#CA52E6#CA52E6

#CA52E6 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.3% C 0.231 H 319.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CA52E6
RGBrgb(202, 82, 230)
HSLhsl(289, 75%, 61%)
HSVhsv(289, 64%, 90%)
CMYKcmyk(12.2%, 64.3%, 0%, 9.8%)
CIE-LABlab(56.39, 67.75, -53.64)
CIE-LCHlch(56.39, 86.42, 321.63°)
OKLaboklab(65.34% 0.1757 -0.1499)
OKLCHoklch(65.34% 0.231 319.5)
XYZxyz(41.6555, 24.3062, 77.3450)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52E6 #6EE652
analogous
#8052E6 #CA52E6 #E652B8
triadic
#CA52E6 #E6CA52 #52E6CA
tetradic
#CA52E6 #E68052 #6EE652 #52B8E6
square
#CA52E6 #E68052 #6EE652 #52B8E6
split-complementary
#CA52E6 #B8E652 #52E680
monochromatic
#8B18A6 #B820DB #CA52E6 #DA87EE #EBBDF5

Accessibility & contrast

On white

3.58
#CA52E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#CA52E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52E6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52E6#FFFFFF#000000##000000
##CA52E61.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#237FEA
Deuteranopia (green-blind)
#5D8BE2
Tritanopia (blue-blind)
#CA6C95
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca52e6;
/* rgb */ color: rgb(202, 82, 230);
/* oklch */ color: oklch(65.3% 0.231 319.5);
Tailwind
colors: {
  custom: {
    50: '#de8bee',
    500: '#ca52e6',
    950: '#000000',
  },
}
SCSS
$custom: #ca52e6;
$custom-light: #de8bee;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52e6",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 288.649,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65336,
    "c": 0.23098,
    "h": 319.5
  },
  "luminance": 0.24304
}

Semantic roles & 50–950 ramp

primary
#CA52E6
secondary
#B9E6AE
accent
#D70F34
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA52E6

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

Preview Lab → · Contrast checker → · Palette generator →

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