#CA52B8#CA52B8

#CA52B8 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.9% C 0.192 H 333.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#CA52B8
RGBrgb(202, 82, 184)
HSLhsl(309, 53%, 56%)
HSVhsv(309, 59%, 79%)
CMYKcmyk(0%, 59.4%, 8.9%, 20.8%)
CIE-LABlab(54.08, 59.76, -31.06)
CIE-LCHlch(54.08, 67.35, 332.54°)
OKLaboklab(62.91% 0.1726 -0.0846)
OKLCHoklch(62.91% 0.192 333.9)
XYZxyz(36.0263, 22.0545, 47.6976)
Luminance0.2205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52B8 #52CA64
analogous
#A052CA #CA52B8 #CA527C
triadic
#CA52B8 #B8CA52 #52B8CA
tetradic
#CA52B8 #CAA052 #52CA64 #527CCA
square
#CA52B8 #CAA052 #52CA64 #527CCA
split-complementary
#CA52B8 #7CCA52 #52CAA0
monochromatic
#7C266F #AB3499 #CA52B8 #D881CB #E7B0DE

Accessibility & contrast

On white

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

On black

5.41
#CA52B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52B8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52B8#FFFFFF#000000##000000
##CA52B81.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5076BB
Deuteranopia (green-blind)
#7688B5
Tritanopia (blue-blind)
#D35A7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca52b8;
/* rgb */ color: rgb(202, 82, 184);
/* oklch */ color: oklch(62.9% 0.192 333.9);
Tailwind
colors: {
  custom: {
    50: '#dd89cd',
    500: '#ca52b8',
    950: '#000000',
  },
}
SCSS
$custom: #ca52b8;
$custom-light: #dd89cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52b8",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 184
  },
  "hsl": {
    "h": 309,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6291,
    "c": 0.19224,
    "h": 333.9
  },
  "luminance": 0.22052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA52B8

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

Preview Lab → · Contrast checker → · Palette generator →

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