#CA52BE#CA52BE

#CA52BE is a light, vivid purple. Relative luminance 0.223; OKLCH L 63.2% C 0.197 H 331.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CA52BE
RGBrgb(202, 82, 190)
HSLhsl(306, 53%, 56%)
HSVhsv(306, 59%, 79%)
CMYKcmyk(0%, 59.4%, 5.9%, 20.8%)
CIE-LABlab(54.36, 60.73, -34.10)
CIE-LCHlch(54.36, 69.65, 330.69°)
OKLaboklab(63.2% 0.1734 -0.0933)
OKLCHoklch(63.2% 0.197 331.7)
XYZxyz(36.6686, 22.3115, 51.0804)
Luminance0.2231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52BE #52CA5E
analogous
#9A52CA #CA52BE #CA5282
triadic
#CA52BE #BECA52 #52BECA
tetradic
#CA52BE #CA9A52 #52CA5E #5282CA
square
#CA52BE #CA9A52 #52CA5E #5282CA
split-complementary
#CA52BE #82CA52 #52CA9A
monochromatic
#7C2673 #AB349F #CA52BE #D881D0 #E7B0E1

Accessibility & contrast

On white

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

On black

5.46
#CA52BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52BE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52BE#FFFFFF#000000##000000
##CA52BE1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D77C1
Deuteranopia (green-blind)
#7388BB
Tritanopia (blue-blind)
#D25C80
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca52be;
/* rgb */ color: rgb(202, 82, 190);
/* oklch */ color: oklch(63.2% 0.197 331.7);
Tailwind
colors: {
  custom: {
    50: '#dd89d2',
    500: '#ca52be',
    950: '#000000',
  },
}
SCSS
$custom: #ca52be;
$custom-light: #dd89d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52be",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 306,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63197,
    "c": 0.19695,
    "h": 331.7
  },
  "luminance": 0.22309
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA52BE

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

Preview Lab → · Contrast checker → · Palette generator →

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