#CA52E1#CA52E1

#CA52E1 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.0% C 0.227 H 320.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CA52E1
RGBrgb(202, 82, 225)
HSLhsl(290, 70%, 60%)
HSVhsv(290, 64%, 88%)
CMYKcmyk(10.2%, 63.6%, 0%, 11.8%)
CIE-LABlab(56.12, 66.83, -51.26)
CIE-LCHlch(56.12, 84.23, 322.51°)
OKLaboklab(65.05% 0.1757 -0.143)
OKLCHoklch(65.05% 0.227 320.9)
XYZxyz(40.9634, 24.0294, 73.7000)
Luminance0.2403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52E1 #69E152
analogous
#8352E1 #CA52E1 #E152B0
triadic
#CA52E1 #E1CA52 #52E1CA
tetradic
#CA52E1 #E18352 #69E152 #52B0E1
square
#CA52E1 #E18352 #69E152 #52B0E1
split-complementary
#CA52E1 #B0E152 #52E183
monochromatic
#881B9D #B624D1 #CA52E1 #DA86EA #EABAF3

Accessibility & contrast

On white

3.62
#CA52E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CA52E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52E1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52E1#FFFFFF#000000##000000
##CA52E11.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7EE5
Deuteranopia (green-blind)
#608BDD
Tritanopia (blue-blind)
#CB6A93
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca52e1;
/* rgb */ color: rgb(202, 82, 225);
/* oklch */ color: oklch(65.0% 0.227 320.9);
Tailwind
colors: {
  custom: {
    50: '#de8aeb',
    500: '#ca52e1',
    950: '#000000',
  },
}
SCSS
$custom: #ca52e1;
$custom-light: #de8aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52e1",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 290.35,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65048,
    "c": 0.22656,
    "h": 320.9
  },
  "luminance": 0.24027
}

Semantic roles & 50–950 ramp

primary
#CA52E1
secondary
#B5E3AC
accent
#D21332
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA52E1

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

Preview Lab → · Contrast checker → · Palette generator →

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