#CA52ED#CA52ED

#CA52ED is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.7% C 0.237 H 317.7°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CA52ED
RGBrgb(202, 82, 237)
HSLhsl(286, 81%, 63%)
HSVhsv(286, 65%, 93%)
CMYKcmyk(14.8%, 65.4%, 0%, 7.1%)
CIE-LABlab(56.79, 69.07, -56.93)
CIE-LCHlch(56.79, 89.51, 320.51°)
OKLaboklab(65.75% 0.1756 -0.1595)
OKLCHoklch(65.75% 0.237 317.7)
XYZxyz(42.6583, 24.7074, 82.6263)
Luminance0.2471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52ED #75ED52
analogous
#7D52ED #CA52ED #ED52C2
triadic
#CA52ED #EDCA52 #52EDCA
tetradic
#CA52ED #ED7D52 #75ED52 #52C2ED
square
#CA52ED #ED7D52 #75ED52 #52C2ED
split-complementary
#CA52ED #C2ED52 #52ED7D
monochromatic
#8E13B2 #B91BE7 #CA52ED #DB89F3 #ECC1F9

Accessibility & contrast

On white

3.53
#CA52ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CA52ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52ED
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52ED#FFFFFF#000000##000000
##CA52ED1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1081F2
Deuteranopia (green-blind)
#588CE9
Tritanopia (blue-blind)
#C96E99
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca52ed;
/* rgb */ color: rgb(202, 82, 237);
/* oklch */ color: oklch(65.7% 0.237 317.7);
Tailwind
colors: {
  custom: {
    50: '#de8bf3',
    500: '#ca52ed',
    950: '#000000',
  },
}
SCSS
$custom: #ca52ed;
$custom-light: #de8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52ed",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 286.452,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65749,
    "c": 0.23722,
    "h": 317.7
  },
  "luminance": 0.24706
}

Semantic roles & 50–950 ramp

primary
#CA52ED
secondary
#BEEAB1
accent
#DE0838
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D17
muted
#847D85

Preview Lab

Preview with #CA52ED

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

Preview Lab → · Contrast checker → · Palette generator →

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