#A52BAA#A52BAA

#A52BAA is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.210 H 326.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A52BAA
RGBrgb(165, 43, 170)
HSLhsl(298, 60%, 42%)
HSVhsv(298, 75%, 67%)
CMYKcmyk(2.9%, 74.7%, 0%, 33.3%)
CIE-LABlab(42.20, 63.55, -41.95)
CIE-LCHlch(42.20, 76.15, 326.57°)
OKLaboklab(52.95% 0.1749 -0.1166)
OKLCHoklch(52.95% 0.21 326.3)
XYZxyz(23.6362, 12.6310, 39.2155)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BAA #30AA2B
analogous
#662BAA #A52BAA #AA2B70
triadic
#A52BAA #AAA52B #2BAAA5
tetradic
#A52BAA #AA662B #30AA2B #2B70AA
square
#A52BAA #AA662B #30AA2B #2B70AA
split-complementary
#A52BAA #70AA2B #2BAA66
monochromatic
#461248 #761F79 #A52BAA #CA43CF #D874DC

Accessibility & contrast

On white

5.96
#A52BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A52BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52BAA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BAA#FFFFFF#000000##FFFFFF
##A52BAA1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015AAD
Deuteranopia (green-blind)
#4969A7
Tritanopia (blue-blind)
#A94169
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52baa;
/* rgb */ color: rgb(165, 43, 170);
/* oklch */ color: oklch(52.9% 0.210 326.3);
Tailwind
colors: {
  custom: {
    50: '#c372c4',
    500: '#a52baa',
    950: '#000000',
  },
}
SCSS
$custom: #a52baa;
$custom-light: #c372c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52baa",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 297.638,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52946,
    "c": 0.2102,
    "h": 326.3
  },
  "luminance": 0.12629
}

Semantic roles & 50–950 ramp

primary
#A52BAA
secondary
#71C36E
accent
#E3454B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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