#A52CAB#A52CAB

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

Color values

HEX#A52CAB
RGBrgb(165, 44, 171)
HSLhsl(297, 59%, 42%)
HSVhsv(297, 74%, 67%)
CMYKcmyk(3.5%, 74.3%, 0%, 32.9%)
CIE-LABlab(42.37, 63.40, -42.27)
CIE-LCHlch(42.37, 76.20, 326.31°)
OKLaboklab(53.09% 0.174 -0.1175)
OKLCHoklch(53.09% 0.21 326)
XYZxyz(23.7679, 12.7426, 39.7279)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CAB #32AB2C
analogous
#652CAB #A52CAB #AB2C72
triadic
#A52CAB #ABA52C #2CABA5
tetradic
#A52CAB #AB652C #32AB2C #2C72AB
square
#A52CAB #AB652C #32AB2C #2C72AB
split-complementary
#A52CAB #72AB2C #2CAB65
monochromatic
#47134A #761F7A #A52CAB #C945CF #D776DC

Accessibility & contrast

On white

5.92
#A52CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A52CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52CAB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CAB#FFFFFF#000000##FFFFFF
##A52CAB1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015AAE
Deuteranopia (green-blind)
#4969A8
Tritanopia (blue-blind)
#A9426A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52cab;
/* rgb */ color: rgb(165, 44, 171);
/* oklch */ color: oklch(53.1% 0.210 326.0);
Tailwind
colors: {
  custom: {
    50: '#c372c4',
    500: '#a52cab',
    950: '#000000',
  },
}
SCSS
$custom: #a52cab;
$custom-light: #c372c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52cab",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 297.165,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53086,
    "c": 0.20996,
    "h": 326
  },
  "luminance": 0.12741
}

Semantic roles & 50–950 ramp

primary
#A52CAB
secondary
#73C36F
accent
#E2464D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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