#CA52B9#CA52B9

#CA52B9 is a light, vivid purple. Relative luminance 0.221; OKLCH L 63.0% C 0.193 H 333.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CA52B9
RGBrgb(202, 82, 185)
HSLhsl(309, 53%, 56%)
HSVhsv(309, 59%, 79%)
CMYKcmyk(0%, 59.4%, 8.4%, 20.8%)
CIE-LABlab(54.13, 59.92, -31.57)
CIE-LCHlch(54.13, 67.73, 332.22°)
OKLaboklab(62.96% 0.1727 -0.0861)
OKLCHoklch(62.96% 0.193 333.5)
XYZxyz(36.1315, 22.0966, 48.2516)
Luminance0.2209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52B9 #52CA63
analogous
#9F52CA #CA52B9 #CA527D
triadic
#CA52B9 #B9CA52 #52B9CA
tetradic
#CA52B9 #CA9F52 #52CA63 #527DCA
square
#CA52B9 #CA9F52 #52CA63 #527DCA
split-complementary
#CA52B9 #7DCA52 #52CA9F
monochromatic
#7C2670 #AB349A #CA52B9 #D881CC #E7B0DF

Accessibility & contrast

On white

3.88
#CA52B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CA52B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52B9
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52B9#FFFFFF#000000##000000
##CA52B91.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5076BC
Deuteranopia (green-blind)
#7588B6
Tritanopia (blue-blind)
#D35B7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca52b9;
/* rgb */ color: rgb(202, 82, 185);
/* oklch */ color: oklch(63.0% 0.193 333.5);
Tailwind
colors: {
  custom: {
    50: '#dd89ce',
    500: '#ca52b9',
    950: '#000000',
  },
}
SCSS
$custom: #ca52b9;
$custom-light: #dd89ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52b9",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 185
  },
  "hsl": {
    "h": 308.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62957,
    "c": 0.19302,
    "h": 333.5
  },
  "luminance": 0.22094
}

Semantic roles & 50–950 ramp

primary
#CA52B9
secondary
#A3D5AA
accent
#DD604B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA52B9

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

Preview Lab → · Contrast checker → · Palette generator →

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