#CA52D9#CA52D9

#CA52D9 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.6% C 0.220 H 323.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#CA52D9
RGBrgb(202, 82, 217)
HSLhsl(293, 64%, 59%)
HSVhsv(293, 62%, 85%)
CMYKcmyk(6.9%, 62.2%, 0%, 14.9%)
CIE-LABlab(55.69, 65.37, -47.43)
CIE-LCHlch(55.69, 80.76, 324.04°)
OKLaboklab(64.6% 0.1756 -0.1318)
OKLCHoklch(64.6% 0.22 323.1)
XYZxyz(39.8976, 23.6031, 68.0865)
Luminance0.2360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52D9 #61D952
analogous
#8652D9 #CA52D9 #D952A4
triadic
#CA52D9 #D9CA52 #52D9CA
tetradic
#CA52D9 #D98652 #61D952 #52A4D9
square
#CA52D9 #D98652 #61D952 #52A4D9
split-complementary
#CA52D9 #A4D952 #52D986
monochromatic
#842091 #B22BC3 #CA52D9 #D984E4 #E9B6EF

Accessibility & contrast

On white

3.67
#CA52D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#CA52D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52D9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52D9#FFFFFF#000000##000000
##CA52D91.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#367CDD
Deuteranopia (green-blind)
#658AD6
Tritanopia (blue-blind)
#CD678E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca52d9;
/* rgb */ color: rgb(202, 82, 217);
/* oklch */ color: oklch(64.6% 0.220 323.1);
Tailwind
colors: {
  custom: {
    50: '#dd8ae5',
    500: '#ca52d9',
    950: '#000000',
  },
}
SCSS
$custom: #ca52d9;
$custom-light: #dd8ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52d9",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 293.333,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64599,
    "c": 0.21956,
    "h": 323.1
  },
  "luminance": 0.23601
}

Semantic roles & 50–950 ramp

primary
#CA52D9
secondary
#AFDEA9
accent
#E74153
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#150C16
muted
#847D84

Preview Lab

Preview with #CA52D9

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

Preview Lab → · Contrast checker → · Palette generator →

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