#CA52BF#CA52BF

#CA52BF is a light, vivid purple. Relative luminance 0.224; OKLCH L 63.2% C 0.198 H 331.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#CA52BF
RGBrgb(202, 82, 191)
HSLhsl(306, 53%, 56%)
HSVhsv(306, 59%, 79%)
CMYKcmyk(0%, 59.4%, 5.4%, 20.8%)
CIE-LABlab(54.40, 60.90, -34.60)
CIE-LCHlch(54.40, 70.04, 330.39°)
OKLaboklab(63.25% 0.1736 -0.0948)
OKLCHoklch(63.25% 0.198 331.4)
XYZxyz(36.7783, 22.3553, 51.6580)
Luminance0.2235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52BF #52CA5D
analogous
#9952CA #CA52BF #CA5283
triadic
#CA52BF #BFCA52 #52BFCA
tetradic
#CA52BF #CA9952 #52CA5D #5283CA
square
#CA52BF #CA9952 #52CA5D #5283CA
split-complementary
#CA52BF #83CA52 #52CA99
monochromatic
#7C2674 #AB34A0 #CA52BF #D881D0 #E7B0E2

Accessibility & contrast

On white

3.84
#CA52BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#CA52BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52BF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52BF#FFFFFF#000000##000000
##CA52BF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C2
Deuteranopia (green-blind)
#7388BC
Tritanopia (blue-blind)
#D25D81
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca52bf;
/* rgb */ color: rgb(202, 82, 191);
/* oklch */ color: oklch(63.2% 0.198 331.4);
Tailwind
colors: {
  custom: {
    50: '#dd89d2',
    500: '#ca52bf',
    950: '#000000',
  },
}
SCSS
$custom: #ca52bf;
$custom-light: #dd89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52bf",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 305.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63245,
    "c": 0.19776,
    "h": 331.4
  },
  "luminance": 0.22353
}

Semantic roles & 50–950 ramp

primary
#CA52BF
secondary
#A3D5A8
accent
#DD594B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CA52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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