#A52BA2#A52BA2

#A52BA2 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.204 H 329.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A52BA2
RGBrgb(165, 43, 162)
HSLhsl(301, 59%, 41%)
HSVhsv(301, 74%, 65%)
CMYKcmyk(0%, 73.9%, 1.8%, 35.3%)
CIE-LABlab(41.75, 62.22, -37.90)
CIE-LCHlch(41.75, 72.86, 328.66°)
OKLaboklab(52.48% 0.175 -0.1048)
OKLCHoklch(52.48% 0.204 329.1)
XYZxyz(22.9023, 12.3374, 35.3505)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BA2 #2BA52E
analogous
#6B2BA5 #A52BA2 #A52B65
triadic
#A52BA2 #A2A52B #2BA2A5
tetradic
#A52BA2 #A56B2B #2BA52E #2B65A5
square
#A52BA2 #A56B2B #2BA52E #2B65A5
split-complementary
#A52BA2 #65A52B #2BA56B
monochromatic
#441243 #741E72 #A52BA2 #CD40CA #DA71D7

Accessibility & contrast

On white

6.06
#A52BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52BA2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BA2#FFFFFF#000000##FFFFFF
##A52BA21.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1758A5
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#AB3D64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52ba2;
/* rgb */ color: rgb(165, 43, 162);
/* oklch */ color: oklch(52.5% 0.204 329.1);
Tailwind
colors: {
  custom: {
    50: '#c371be',
    500: '#a52ba2',
    950: '#000000',
  },
}
SCSS
$custom: #a52ba2;
$custom-light: #c371be;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ba2",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 301.475,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52475,
    "c": 0.20399,
    "h": 329.1
  },
  "luminance": 0.12336
}

Semantic roles & 50–950 ramp

primary
#A52BA2
secondary
#6BC16D
accent
#E24A46
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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