#CA52D8#CA52D8

#CA52D8 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.5% C 0.219 H 323.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CA52D8
RGBrgb(202, 82, 216)
HSLhsl(294, 63%, 58%)
HSVhsv(294, 62%, 85%)
CMYKcmyk(6.5%, 62%, 0%, 15.3%)
CIE-LABlab(55.64, 65.19, -46.94)
CIE-LCHlch(55.64, 80.34, 324.24°)
OKLaboklab(64.54% 0.1755 -0.1304)
OKLCHoklch(64.54% 0.219 323.4)
XYZxyz(39.7679, 23.5512, 67.4036)
Luminance0.2355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52D8 #60D852
analogous
#8752D8 #CA52D8 #D852A3
triadic
#CA52D8 #D8CA52 #52D8CA
tetradic
#CA52D8 #D88752 #60D852 #52A3D8
square
#CA52D8 #D88752 #60D852 #52A3D8
split-complementary
#CA52D8 #A3D852 #52D887
monochromatic
#84208F #B22CC1 #CA52D8 #D984E3 #E9B6EF

Accessibility & contrast

On white

3.68
#CA52D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#CA52D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52D8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52D8#FFFFFF#000000##000000
##CA52D81.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#377CDC
Deuteranopia (green-blind)
#668AD5
Tritanopia (blue-blind)
#CD668E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca52d8;
/* rgb */ color: rgb(202, 82, 216);
/* oklch */ color: oklch(64.5% 0.219 323.4);
Tailwind
colors: {
  custom: {
    50: '#dd8ae4',
    500: '#ca52d8',
    950: '#000000',
  },
}
SCSS
$custom: #ca52d8;
$custom-light: #dd8ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52d8",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 293.731,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64544,
    "c": 0.21868,
    "h": 323.4
  },
  "luminance": 0.23549
}

Semantic roles & 50–950 ramp

primary
#CA52D8
secondary
#AEDDA8
accent
#E64253
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#150C16
muted
#847D84

Preview Lab

Preview with #CA52D8

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

Preview Lab → · Contrast checker → · Palette generator →

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