#A52BA3#A52BA3

#A52BA3 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.205 H 328.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A52BA3
RGBrgb(165, 43, 163)
HSLhsl(301, 59%, 41%)
HSVhsv(301, 74%, 65%)
CMYKcmyk(0%, 73.9%, 1.2%, 35.3%)
CIE-LABlab(41.80, 62.39, -38.41)
CIE-LCHlch(41.80, 73.26, 328.38°)
OKLaboklab(52.53% 0.175 -0.1063)
OKLCHoklch(52.53% 0.205 328.7)
XYZxyz(22.9916, 12.3731, 35.8205)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BA3 #2BA52D
analogous
#6A2BA5 #A52BA3 #A52B66
triadic
#A52BA3 #A3A52B #2BA3A5
tetradic
#A52BA3 #A56A2B #2BA52D #2B66A5
square
#A52BA3 #A56A2B #2BA52D #2B66A5
split-complementary
#A52BA3 #66A52B #2BA56A
monochromatic
#441243 #741E73 #A52BA3 #CD40CB #DA71D8

Accessibility & contrast

On white

6.04
#A52BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A52BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52BA3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BA3#FFFFFF#000000##FFFFFF
##A52BA31.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A6
Deuteranopia (green-blind)
#4E68A0
Tritanopia (blue-blind)
#AB3D65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a52ba3;
/* rgb */ color: rgb(165, 43, 163);
/* oklch */ color: oklch(52.5% 0.205 328.7);
Tailwind
colors: {
  custom: {
    50: '#c371bf',
    500: '#a52ba3',
    950: '#000000',
  },
}
SCSS
$custom: #a52ba3;
$custom-light: #c371bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ba3",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 300.984,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.20476,
    "h": 328.7
  },
  "luminance": 0.12371
}

Semantic roles & 50–950 ramp

primary
#A52BA3
secondary
#6BC16C
accent
#E24946
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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