#CA52F2#CA52F2

#CA52F2 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.0% C 0.242 H 316.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#CA52F2
RGBrgb(202, 82, 242)
HSLhsl(285, 86%, 64%)
HSVhsv(285, 66%, 95%)
CMYKcmyk(16.5%, 66.1%, 0%, 5.1%)
CIE-LABlab(57.08, 70.03, -59.25)
CIE-LCHlch(57.08, 91.73, 319.76°)
OKLaboklab(66.05% 0.1754 -0.1664)
OKLCHoklch(66.05% 0.242 316.5)
XYZxyz(43.3990, 25.0036, 86.5273)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52F2 #7AF252
analogous
#7A52F2 #CA52F2 #F252CA
triadic
#CA52F2 #F2CA52 #52F2CA
tetradic
#CA52F2 #F27A52 #7AF252 #52CAF2
square
#CA52F2 #F27A52 #7AF252 #52CAF2
split-complementary
#CA52F2 #CAF252 #52F27A
monochromatic
#900EBC #B919EE #CA52F2 #DB8BF6 #EDC4FB

Accessibility & contrast

On white

3.50
#CA52F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#CA52F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52F2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52F2#FFFFFF#000000##000000
##CA52F21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#538CEE
Tritanopia (blue-blind)
#C8709C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca52f2;
/* rgb */ color: rgb(202, 82, 242);
/* oklch */ color: oklch(66.0% 0.242 316.5);
Tailwind
colors: {
  custom: {
    50: '#de8bf7',
    500: '#ca52f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca52f2;
$custom-light: #de8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52f2",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 242
  },
  "hsl": {
    "h": 285,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6605,
    "c": 0.24172,
    "h": 316.5
  },
  "luminance": 0.25002
}

Semantic roles & 50–950 ramp

primary
#CA52F2
secondary
#C2ECB4
accent
#E3033B
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D17
muted
#847D85

Preview Lab

Preview with #CA52F2

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

Preview Lab → · Contrast checker → · Palette generator →

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