#CA52C7#CA52C7

#CA52C7 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.6% C 0.204 H 328.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CA52C7
RGBrgb(202, 82, 199)
HSLhsl(302, 53%, 56%)
HSVhsv(302, 59%, 79%)
CMYKcmyk(0%, 59.4%, 1.5%, 20.8%)
CIE-LABlab(54.78, 62.23, -38.61)
CIE-LCHlch(54.78, 73.23, 328.18°)
OKLaboklab(63.64% 0.1744 -0.1063)
OKLCHoklch(63.64% 0.204 328.6)
XYZxyz(37.6828, 22.7171, 56.4218)
Luminance0.2271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52C7 #52CA55
analogous
#9152CA #CA52C7 #CA528B
triadic
#CA52C7 #C7CA52 #52C7CA
tetradic
#CA52C7 #CA9152 #52CA55 #528BCA
square
#CA52C7 #CA9152 #52CA55 #528BCA
split-complementary
#CA52C7 #8BCA52 #52CA91
monochromatic
#7C267A #AB34A8 #CA52C7 #D881D6 #E7B0E5

Accessibility & contrast

On white

3.79
#CA52C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CA52C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52C7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52C7#FFFFFF#000000##000000
##CA52C71.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4679CB
Deuteranopia (green-blind)
#6F89C4
Tritanopia (blue-blind)
#D06085
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca52c7;
/* rgb */ color: rgb(202, 82, 199);
/* oklch */ color: oklch(63.6% 0.204 328.6);
Tailwind
colors: {
  custom: {
    50: '#dd8ad8',
    500: '#ca52c7',
    950: '#000000',
  },
}
SCSS
$custom: #ca52c7;
$custom-light: #dd8ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52c7",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 301.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63644,
    "c": 0.20427,
    "h": 328.6
  },
  "luminance": 0.22715
}

Semantic roles & 50–950 ramp

primary
#CA52C7
secondary
#A3D5A4
accent
#DD4F4B
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #CA52C7

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

Preview Lab → · Contrast checker → · Palette generator →

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