#CA52C0#CA52C0

#CA52C0 is a light, vivid purple. Relative luminance 0.224; OKLCH L 63.3% C 0.199 H 331.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CA52C0
RGBrgb(202, 82, 192)
HSLhsl(305, 53%, 56%)
HSVhsv(305, 59%, 79%)
CMYKcmyk(0%, 59.4%, 5%, 20.8%)
CIE-LABlab(54.45, 61.06, -35.11)
CIE-LCHlch(54.45, 70.43, 330.10°)
OKLaboklab(63.29% 0.1737 -0.0962)
OKLCHoklch(63.29% 0.199 331)
XYZxyz(36.8887, 22.3995, 52.2396)
Luminance0.2240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52C0 #52CA5C
analogous
#9852CA #CA52C0 #CA5284
triadic
#CA52C0 #C0CA52 #52C0CA
tetradic
#CA52C0 #CA9852 #52CA5C #5284CA
square
#CA52C0 #CA9852 #52CA5C #5284CA
split-complementary
#CA52C0 #84CA52 #52CA98
monochromatic
#7C2675 #AB34A1 #CA52C0 #D881D1 #E7B0E2

Accessibility & contrast

On white

3.83
#CA52C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CA52C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52C0
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52C0#FFFFFF#000000##000000
##CA52C01.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C3
Deuteranopia (green-blind)
#7288BD
Tritanopia (blue-blind)
#D15D81
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca52c0;
/* rgb */ color: rgb(202, 82, 192);
/* oklch */ color: oklch(63.3% 0.199 331.0);
Tailwind
colors: {
  custom: {
    50: '#dd8ad3',
    500: '#ca52c0',
    950: '#000000',
  },
}
SCSS
$custom: #ca52c0;
$custom-light: #dd8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52c0",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 192
  },
  "hsl": {
    "h": 305,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63294,
    "c": 0.19856,
    "h": 331
  },
  "luminance": 0.22397
}

Semantic roles & 50–950 ramp

primary
#CA52C0
secondary
#A3D5A7
accent
#DD574B
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #CA52C0

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

Preview Lab → · Contrast checker → · Palette generator →

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