#A52BA6#A52BA6

#A52BA6 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.207 H 327.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A52BA6
RGBrgb(165, 43, 166)
HSLhsl(300, 59%, 41%)
HSVhsv(300, 74%, 65%)
CMYKcmyk(0.6%, 74.1%, 0%, 34.9%)
CIE-LABlab(41.97, 62.88, -39.93)
CIE-LCHlch(41.97, 74.49, 327.58°)
OKLaboklab(52.71% 0.175 -0.1107)
OKLCHoklch(52.71% 0.207 327.7)
XYZxyz(23.2635, 12.4819, 37.2530)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BA6 #2CA62B
analogous
#672BA6 #A52BA6 #A62B69
triadic
#A52BA6 #A6A52B #2BA6A5
tetradic
#A52BA6 #A6672B #2CA62B #2B69A6
square
#A52BA6 #A6672B #2CA62B #2B69A6
split-complementary
#A52BA6 #69A62B #2BA667
monochromatic
#441245 #751E75 #A52BA6 #CD41CE #D971DA

Accessibility & contrast

On white

6.01
#A52BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A52BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52BA6
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BA6#FFFFFF#000000##FFFFFF
##A52BA61.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F59A9
Deuteranopia (green-blind)
#4C68A3
Tritanopia (blue-blind)
#AA3F67
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a52ba6;
/* rgb */ color: rgb(165, 43, 166);
/* oklch */ color: oklch(52.7% 0.207 327.7);
Tailwind
colors: {
  custom: {
    50: '#c372c1',
    500: '#a52ba6',
    950: '#000000',
  },
}
SCSS
$custom: #a52ba6;
$custom-light: #c372c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ba6",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 299.512,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52708,
    "c": 0.20708,
    "h": 327.7
  },
  "luminance": 0.1248
}

Semantic roles & 50–950 ramp

primary
#A52BA6
secondary
#6CC16B
accent
#E24647
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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