#CA52EF#CA52EF

#CA52EF is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.9% C 0.239 H 317.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CA52EF
RGBrgb(202, 82, 239)
HSLhsl(286, 83%, 63%)
HSVhsv(286, 66%, 94%)
CMYKcmyk(15.5%, 65.7%, 0%, 6.3%)
CIE-LABlab(56.90, 69.45, -57.86)
CIE-LCHlch(56.90, 90.39, 320.20°)
OKLaboklab(65.87% 0.1755 -0.1623)
OKLCHoklch(65.87% 0.239 317.2)
XYZxyz(42.9521, 24.8249, 84.1738)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52EF #77EF52
analogous
#7B52EF #CA52EF #EF52C5
triadic
#CA52EF #EFCA52 #52EFCA
tetradic
#CA52EF #EF7B52 #77EF52 #52C5EF
square
#CA52EF #EF7B52 #77EF52 #52C5EF
split-complementary
#CA52EF #C5EF52 #52EF7B
monochromatic
#8F11B6 #B91AEA #CA52EF #DB8AF4 #ECC2F9

Accessibility & contrast

On white

3.52
#CA52EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CA52EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52EF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52EF#FFFFFF#000000##000000
##CA52EF1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0681F4
Deuteranopia (green-blind)
#568CEB
Tritanopia (blue-blind)
#C86F9A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca52ef;
/* rgb */ color: rgb(202, 82, 239);
/* oklch */ color: oklch(65.9% 0.239 317.2);
Tailwind
colors: {
  custom: {
    50: '#de8bf5',
    500: '#ca52ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca52ef;
$custom-light: #de8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52ef",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 285.86,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65869,
    "c": 0.23901,
    "h": 317.2
  },
  "luminance": 0.24823
}

Semantic roles & 50–950 ramp

primary
#CA52EF
secondary
#BFEBB2
accent
#DF0639
background
#FEF8FF
surface
#FCF0FE
border
#D5CBD6
text
#160D17
muted
#847D85

Preview Lab

Preview with #CA52EF

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

Preview Lab → · Contrast checker → · Palette generator →

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