#A52BAC#A52BAC

#A52BAC is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.212 H 325.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A52BAC
RGBrgb(165, 43, 172)
HSLhsl(297, 60%, 42%)
HSVhsv(297, 75%, 67%)
CMYKcmyk(4.1%, 75%, 0%, 32.5%)
CIE-LABlab(42.32, 63.89, -42.95)
CIE-LCHlch(42.32, 76.99, 326.09°)
OKLaboklab(53.07% 0.1748 -0.1195)
OKLCHoklch(53.07% 0.212 325.6)
XYZxyz(23.8268, 12.7072, 40.2195)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BAC #32AC2B
analogous
#642BAC #A52BAC #AC2B73
triadic
#A52BAC #ACA52B #2BACA5
tetradic
#A52BAC #AC642B #32AC2B #2B73AC
square
#A52BAC #AC642B #32AC2B #2B73AC
split-complementary
#A52BAC #73AC2B #2BAC64
monochromatic
#47134A #761F7B #A52BAC #C944D0 #D775DC

Accessibility & contrast

On white

5.93
#A52BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A52BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52BAC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BAC#FFFFFF#000000##FFFFFF
##A52BAC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#4869A9
Tritanopia (blue-blind)
#A9426A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52bac;
/* rgb */ color: rgb(165, 43, 172);
/* oklch */ color: oklch(53.1% 0.212 325.6);
Tailwind
colors: {
  custom: {
    50: '#c472c5',
    500: '#a52bac',
    950: '#000000',
  },
}
SCSS
$custom: #a52bac;
$custom-light: #c472c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a52bac",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 296.744,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53067,
    "c": 0.21178,
    "h": 325.6
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

primary
#A52BAC
secondary
#73C46F
accent
#E3454D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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