#CA52E7#CA52E7

#CA52E7 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.4% C 0.232 H 319.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#CA52E7
RGBrgb(202, 82, 231)
HSLhsl(288, 76%, 61%)
HSVhsv(288, 65%, 91%)
CMYKcmyk(12.6%, 64.5%, 0%, 9.4%)
CIE-LABlab(56.45, 67.94, -54.11)
CIE-LCHlch(56.45, 86.85, 321.47°)
OKLaboklab(65.39% 0.1757 -0.1513)
OKLCHoklch(65.39% 0.232 319.3)
XYZxyz(41.7964, 24.3626, 78.0867)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52E7 #6FE752
analogous
#8052E7 #CA52E7 #E752BA
triadic
#CA52E7 #E7CA52 #52E7CA
tetradic
#CA52E7 #E78052 #6FE752 #52BAE7
square
#CA52E7 #E78052 #6FE752 #52BAE7
split-complementary
#CA52E7 #BAE752 #52E780
monochromatic
#8B17A7 #B81FDD #CA52E7 #DA88EE #EBBDF6

Accessibility & contrast

On white

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

On black

5.87
#CA52E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52E7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52E7#FFFFFF#000000##000000
##CA52E71.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#217FEB
Deuteranopia (green-blind)
#5C8BE3
Tritanopia (blue-blind)
#CA6C96
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca52e7;
/* rgb */ color: rgb(202, 82, 231);
/* oklch */ color: oklch(65.4% 0.232 319.3);
Tailwind
colors: {
  custom: {
    50: '#de8bef',
    500: '#ca52e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca52e7;
$custom-light: #de8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52e7",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 288.322,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65394,
    "c": 0.23187,
    "h": 319.3
  },
  "luminance": 0.24361
}

Semantic roles & 50–950 ramp

primary
#CA52E7
secondary
#B9E6AF
accent
#D80E35
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA52E7

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

Preview Lab → · Contrast checker → · Palette generator →

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