#CA52BD#CA52BD

#CA52BD is a light, vivid purple. Relative luminance 0.223; OKLCH L 63.1% C 0.196 H 332.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CA52BD
RGBrgb(202, 82, 189)
HSLhsl(307, 53%, 56%)
HSVhsv(307, 59%, 79%)
CMYKcmyk(0%, 59.4%, 6.4%, 20.8%)
CIE-LABlab(54.31, 60.57, -33.60)
CIE-LCHlch(54.31, 69.26, 330.98°)
OKLaboklab(63.15% 0.1733 -0.0919)
OKLCHoklch(63.15% 0.196 332.1)
XYZxyz(36.5597, 22.2679, 50.5068)
Luminance0.2226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52BD #52CA5F
analogous
#9B52CA #CA52BD #CA5281
triadic
#CA52BD #BDCA52 #52BDCA
tetradic
#CA52BD #CA9B52 #52CA5F #5281CA
square
#CA52BD #CA9B52 #52CA5F #5281CA
split-complementary
#CA52BD #81CA52 #52CA9B
monochromatic
#7C2672 #AB349E #CA52BD #D881CF #E7B0E1

Accessibility & contrast

On white

3.85
#CA52BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#CA52BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52BD
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52BD#FFFFFF#000000##000000
##CA52BD1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D77C0
Deuteranopia (green-blind)
#7488BA
Tritanopia (blue-blind)
#D25C80
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca52bd;
/* rgb */ color: rgb(202, 82, 189);
/* oklch */ color: oklch(63.1% 0.196 332.1);
Tailwind
colors: {
  custom: {
    50: '#dd89d1',
    500: '#ca52bd',
    950: '#000000',
  },
}
SCSS
$custom: #ca52bd;
$custom-light: #dd89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52bd",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 306.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63148,
    "c": 0.19616,
    "h": 332.1
  },
  "luminance": 0.22265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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