#CA52DF#CA52DF

#CA52DF is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.225 H 321.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CA52DF
RGBrgb(202, 82, 223)
HSLhsl(291, 69%, 60%)
HSVhsv(291, 63%, 87%)
CMYKcmyk(9.4%, 63.2%, 0%, 12.5%)
CIE-LABlab(56.01, 66.46, -50.31)
CIE-LCHlch(56.01, 83.36, 322.88°)
OKLaboklab(64.93% 0.1757 -0.1402)
OKLCHoklch(64.93% 0.225 321.4)
XYZxyz(40.6922, 23.9209, 72.2715)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52DF #67DF52
analogous
#8452DF #CA52DF #DF52AD
triadic
#CA52DF #DFCA52 #52DFCA
tetradic
#CA52DF #DF8452 #67DF52 #52ADDF
square
#CA52DF #DF8452 #67DF52 #52ADDF
split-complementary
#CA52DF #ADDF52 #52DF84
monochromatic
#871D9A #B526CE #CA52DF #DA86E9 #EAB9F2

Accessibility & contrast

On white

3.63
#CA52DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CA52DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52DF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52DF#FFFFFF#000000##000000
##CA52DF1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7EE3
Deuteranopia (green-blind)
#628BDB
Tritanopia (blue-blind)
#CC6992
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca52df;
/* rgb */ color: rgb(202, 82, 223);
/* oklch */ color: oklch(64.9% 0.225 321.4);
Tailwind
colors: {
  custom: {
    50: '#dd8ae9',
    500: '#ca52df',
    950: '#000000',
  },
}
SCSS
$custom: #ca52df;
$custom-light: #dd8ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52df",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 291.064,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64934,
    "c": 0.2248,
    "h": 321.4
  },
  "luminance": 0.23919
}

Semantic roles & 50–950 ramp

primary
#CA52DF
secondary
#B3E2AB
accent
#EC3C56
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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