#CA52BB#CA52BB

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

Color values

HEX#CA52BB
RGBrgb(202, 82, 187)
HSLhsl(308, 53%, 56%)
HSVhsv(308, 59%, 79%)
CMYKcmyk(0%, 59.4%, 7.4%, 20.8%)
CIE-LABlab(54.22, 60.24, -32.58)
CIE-LCHlch(54.22, 68.49, 331.59°)
OKLaboklab(63.05% 0.173 -0.089)
OKLCHoklch(63.05% 0.195 332.8)
XYZxyz(36.3441, 22.1817, 49.3713)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52BB #52CA61
analogous
#9D52CA #CA52BB #CA527F
triadic
#CA52BB #BBCA52 #52BBCA
tetradic
#CA52BB #CA9D52 #52CA61 #527FCA
square
#CA52BB #CA9D52 #52CA61 #527FCA
split-complementary
#CA52BB #7FCA52 #52CA9D
monochromatic
#7C2671 #AB349C #CA52BB #D881CD #E7B0E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA52BB#FFFFFF#000000##000000
##CA52BB1.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)
#4E77BE
Deuteranopia (green-blind)
#7588B8
Tritanopia (blue-blind)
#D25B7F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca52bb;
/* rgb */ color: rgb(202, 82, 187);
/* oklch */ color: oklch(63.1% 0.195 332.8);
Tailwind
colors: {
  custom: {
    50: '#dd89d0',
    500: '#ca52bb',
    950: '#000000',
  },
}
SCSS
$custom: #ca52bb;
$custom-light: #dd89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52bb",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 307.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63052,
    "c": 0.19458,
    "h": 332.8
  },
  "luminance": 0.22179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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