#A52BA0#A52BA0

#A52BA0 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.202 H 329.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A52BA0
RGBrgb(165, 43, 160)
HSLhsl(302, 59%, 41%)
HSVhsv(302, 74%, 65%)
CMYKcmyk(0%, 73.9%, 3%, 35.3%)
CIE-LABlab(41.64, 61.90, -36.87)
CIE-LCHlch(41.64, 72.05, 329.22°)
OKLaboklab(52.36% 0.175 -0.1018)
OKLCHoklch(52.36% 0.202 329.8)
XYZxyz(22.7260, 12.2669, 34.4217)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BA0 #2BA530
analogous
#6D2BA5 #A52BA0 #A52B63
triadic
#A52BA0 #A0A52B #2BA0A5
tetradic
#A52BA0 #A56D2B #2BA530 #2B63A5
square
#A52BA0 #A56D2B #2BA530 #2B63A5
split-complementary
#A52BA0 #63A52B #2BA56D
monochromatic
#441242 #741E71 #A52BA0 #CD40C7 #DA71D6

Accessibility & contrast

On white

6.08
#A52BA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A52BA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52BA0
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BA0#FFFFFF#000000##FFFFFF
##A52BA01.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B58A3
Deuteranopia (green-blind)
#4F689D
Tritanopia (blue-blind)
#AB3C63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52ba0;
/* rgb */ color: rgb(165, 43, 160);
/* oklch */ color: oklch(52.4% 0.202 329.8);
Tailwind
colors: {
  custom: {
    50: '#c371bc',
    500: '#a52ba0',
    950: '#000000',
  },
}
SCSS
$custom: #a52ba0;
$custom-light: #c371bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ba0",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 302.459,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.20246,
    "h": 329.8
  },
  "luminance": 0.12265
}

Semantic roles & 50–950 ramp

primary
#A52BA0
secondary
#6BC16E
accent
#E24C46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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