#A52FAB#A52FAB

#A52FAB is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.207 H 325.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A52FAB
RGBrgb(165, 47, 171)
HSLhsl(297, 57%, 43%)
HSVhsv(297, 73%, 67%)
CMYKcmyk(3.5%, 72.5%, 0%, 32.9%)
CIE-LABlab(42.72, 62.40, -41.71)
CIE-LCHlch(42.72, 75.05, 326.24°)
OKLaboklab(53.34% 0.1712 -0.1159)
OKLCHoklch(53.34% 0.207 325.9)
XYZxyz(23.8838, 12.9742, 39.7665)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FAB #35AB2F
analogous
#672FAB #A52FAB #AB2F73
triadic
#A52FAB #ABA52F #2FABA5
tetradic
#A52FAB #AB672F #35AB2F #2F73AB
square
#A52FAB #AB672F #35AB2F #2F73AB
split-complementary
#A52FAB #73AB2F #2FAB67
monochromatic
#48154B #77227B #A52FAB #C74ACD #D67ADA

Accessibility & contrast

On white

5.84
#A52FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A52FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52FAB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FAB#FFFFFF#000000##FFFFFF
##A52FAB1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5CAE
Deuteranopia (green-blind)
#4B6AA8
Tritanopia (blue-blind)
#A9446A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52fab;
/* rgb */ color: rgb(165, 47, 171);
/* oklch */ color: oklch(53.3% 0.207 325.9);
Tailwind
colors: {
  custom: {
    50: '#c373c4',
    500: '#a52fab',
    950: '#000000',
  },
}
SCSS
$custom: #a52fab;
$custom-light: #c373c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fab",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 297.097,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53338,
    "c": 0.20673,
    "h": 325.9
  },
  "luminance": 0.12973
}

Semantic roles & 50–950 ramp

primary
#A52FAB
secondary
#77C373
accent
#E0484F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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