#CA52BC#CA52BC

#CA52BC is a light, vivid purple. Relative luminance 0.222; OKLCH L 63.1% C 0.195 H 332.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#CA52BC
RGBrgb(202, 82, 188)
HSLhsl(307, 53%, 56%)
HSVhsv(307, 59%, 79%)
CMYKcmyk(0%, 59.4%, 6.9%, 20.8%)
CIE-LABlab(54.26, 60.41, -33.09)
CIE-LCHlch(54.26, 68.87, 331.29°)
OKLaboklab(63.1% 0.1732 -0.0904)
OKLCHoklch(63.1% 0.195 332.4)
XYZxyz(36.4515, 22.2246, 49.9371)
Luminance0.2222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52BC #52CA60
analogous
#9C52CA #CA52BC #CA5280
triadic
#CA52BC #BCCA52 #52BCCA
tetradic
#CA52BC #CA9C52 #52CA60 #5280CA
square
#CA52BC #CA9C52 #52CA60 #5280CA
split-complementary
#CA52BC #80CA52 #52CA9C
monochromatic
#7C2672 #AB349D #CA52BC #D881CE #E7B0E0

Accessibility & contrast

On white

3.86
#CA52BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#CA52BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52BC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52BC#FFFFFF#000000##000000
##CA52BC1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E77BF
Deuteranopia (green-blind)
#7488B9
Tritanopia (blue-blind)
#D25C7F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca52bc;
/* rgb */ color: rgb(202, 82, 188);
/* oklch */ color: oklch(63.1% 0.195 332.4);
Tailwind
colors: {
  custom: {
    50: '#dd89d0',
    500: '#ca52bc',
    950: '#000000',
  },
}
SCSS
$custom: #ca52bc;
$custom-light: #dd89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52bc",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 307,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.631,
    "c": 0.19537,
    "h": 332.4
  },
  "luminance": 0.22222
}

Semantic roles & 50–950 ramp

primary
#CA52BC
secondary
#A3D5A9
accent
#DD5C4B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #CA52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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