#A52AB1#A52AB1

#A52AB1 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.217 H 324.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A52AB1
RGBrgb(165, 42, 177)
HSLhsl(295, 62%, 43%)
HSVhsv(295, 76%, 69%)
CMYKcmyk(6.8%, 76.3%, 0%, 30.6%)
CIE-LABlab(42.51, 65.07, -45.61)
CIE-LCHlch(42.51, 79.46, 324.97°)
OKLaboklab(53.3% 0.1754 -0.1273)
OKLCHoklch(53.3% 0.217 324)
XYZxyz(24.2801, 12.8311, 42.7842)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52AB1 #36B12A
analogous
#622AB1 #A52AB1 #B12A79
triadic
#A52AB1 #B1A52A #2AB1A5
tetradic
#A52AB1 #B1622A #36B12A #2A79B1
square
#A52AB1 #B1622A #36B12A #2A79B1
split-complementary
#A52AB1 #79B12A #2AB162
monochromatic
#49134E #771E80 #A52AB1 #C645D3 #D577DF

Accessibility & contrast

On white

5.89
#A52AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A52AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52AB1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52AB1#FFFFFF#000000##FFFFFF
##A52AB11.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#4469AE
Tritanopia (blue-blind)
#A8436C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52ab1;
/* rgb */ color: rgb(165, 42, 177);
/* oklch */ color: oklch(53.3% 0.217 324.0);
Tailwind
colors: {
  custom: {
    50: '#c472c9',
    500: '#a52ab1',
    950: '#000000',
  },
}
SCSS
$custom: #a52ab1;
$custom-light: #c472c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ab1",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 294.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53297,
    "c": 0.21674,
    "h": 324
  },
  "luminance": 0.1283
}

Semantic roles & 50–950 ramp

primary
#A52AB1
secondary
#78C670
accent
#E54351
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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