#CA52DC#CA52DC

#CA52DC is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.8% C 0.222 H 322.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#CA52DC
RGBrgb(202, 82, 220)
HSLhsl(292, 66%, 59%)
HSVhsv(292, 63%, 86%)
CMYKcmyk(8.2%, 62.7%, 0%, 13.7%)
CIE-LABlab(55.85, 65.92, -48.87)
CIE-LCHlch(55.85, 82.06, 323.45°)
OKLaboklab(64.77% 0.1757 -0.136)
OKLCHoklch(64.77% 0.222 322.2)
XYZxyz(40.2913, 23.7606, 70.1602)
Luminance0.2376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52DC #64DC52
analogous
#8552DC #CA52DC #DC52A9
triadic
#CA52DC #DCCA52 #52DCCA
tetradic
#CA52DC #DC8552 #64DC52 #52A9DC
square
#CA52DC #DC8552 #64DC52 #52A9DC
split-complementary
#CA52DC #A9DC52 #52DC85
monochromatic
#861E95 #B329C8 #CA52DC #DA85E6 #E9B8F1

Accessibility & contrast

On white

3.65
#CA52DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#CA52DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52DC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52DC#FFFFFF#000000##000000
##CA52DC1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#327DE0
Deuteranopia (green-blind)
#648AD8
Tritanopia (blue-blind)
#CC6890
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca52dc;
/* rgb */ color: rgb(202, 82, 220);
/* oklch */ color: oklch(64.8% 0.222 322.2);
Tailwind
colors: {
  custom: {
    50: '#dd8ae7',
    500: '#ca52dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca52dc;
$custom-light: #dd8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52dc",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 292.174,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64766,
    "c": 0.22217,
    "h": 322.2
  },
  "luminance": 0.23758
}

Semantic roles & 50–950 ramp

primary
#CA52DC
secondary
#B1E0AA
accent
#E93F55
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#150C16
muted
#847D84

Preview Lab

Preview with #CA52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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