#CA52D5#CA52D5

#CA52D5 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.4% C 0.216 H 324.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#CA52D5
RGBrgb(202, 82, 213)
HSLhsl(295, 61%, 58%)
HSVhsv(295, 62%, 84%)
CMYKcmyk(5.2%, 61.5%, 0%, 16.5%)
CIE-LABlab(55.48, 64.66, -45.49)
CIE-LCHlch(55.48, 79.06, 324.87°)
OKLaboklab(64.38% 0.1754 -0.1262)
OKLCHoklch(64.38% 0.216 324.3)
XYZxyz(39.3836, 23.3975, 65.3796)
Luminance0.2339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52D5 #5DD552
analogous
#8952D5 #CA52D5 #D5529E
triadic
#CA52D5 #D5CA52 #52D5CA
tetradic
#CA52D5 #D58952 #5DD552 #529ED5
square
#CA52D5 #D58952 #5DD552 #529ED5
split-complementary
#CA52D5 #9ED552 #52D589
monochromatic
#82228B #B02EBC #CA52D5 #D983E1 #E8B4ED

Accessibility & contrast

On white

3.70
#CA52D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#CA52D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52D5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52D5#FFFFFF#000000##000000
##CA52D51.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7CD9
Deuteranopia (green-blind)
#688AD2
Tritanopia (blue-blind)
#CE658C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca52d5;
/* rgb */ color: rgb(202, 82, 213);
/* oklch */ color: oklch(64.4% 0.216 324.3);
Tailwind
colors: {
  custom: {
    50: '#dd8ae2',
    500: '#ca52d5',
    950: '#000000',
  },
}
SCSS
$custom: #ca52d5;
$custom-light: #dd8ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52d5",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 294.962,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6438,
    "c": 0.2161,
    "h": 324.3
  },
  "luminance": 0.23395
}

Semantic roles & 50–950 ramp

primary
#CA52D5
secondary
#ACDCA7
accent
#E44451
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150C15
muted
#847D83

Preview Lab

Preview with #CA52D5

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

Preview Lab → · Contrast checker → · Palette generator →

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