#A52CBC#A52CBC

#A52CBC is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.2% C 0.224 H 320.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A52CBC
RGBrgb(165, 44, 188)
HSLhsl(290, 62%, 45%)
HSVhsv(290, 77%, 74%)
CMYKcmyk(12.2%, 76.6%, 0%, 26.3%)
CIE-LABlab(43.41, 66.38, -50.65)
CIE-LCHlch(43.41, 83.50, 322.66°)
OKLaboklab(54.15% 0.1728 -0.142)
OKLCHoklch(54.15% 0.224 320.6)
XYZxyz(25.4938, 13.4329, 48.8172)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CBC #43BC2C
analogous
#5D2CBC #A52CBC #BC2C8B
triadic
#A52CBC #BCA52C #2CBCA5
tetradic
#A52CBC #BC5D2C #43BC2C #2C8BBC
square
#A52CBC #BC5D2C #43BC2C #2C8BBC
split-complementary
#A52CBC #8BBC2C #2CBC5D
monochromatic
#4E1559 #79208A #A52CBC #C04FD6 #D281E1

Accessibility & contrast

On white

5.70
#A52CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A52CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52CBC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CBC#FFFFFF#000000##FFFFFF
##A52CBC1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#A64A73
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a52cbc;
/* rgb */ color: rgb(165, 44, 188);
/* oklch */ color: oklch(54.2% 0.224 320.6);
Tailwind
colors: {
  custom: {
    50: '#c473d1',
    500: '#a52cbc',
    950: '#000000',
  },
}
SCSS
$custom: #a52cbc;
$custom-light: #c473d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52cbc",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 188
  },
  "hsl": {
    "h": 290.417,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54154,
    "c": 0.22365,
    "h": 320.6
  },
  "luminance": 0.13432
}

Semantic roles & 50–950 ramp

primary
#A52CBC
secondary
#86CA79
accent
#E5435D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A52CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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