#A52BB8#A52BB8

#A52BB8 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.221 H 321.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A52BB8
RGBrgb(165, 43, 184)
HSLhsl(292, 62%, 45%)
HSVhsv(292, 77%, 72%)
CMYKcmyk(10.3%, 76.6%, 0%, 27.8%)
CIE-LABlab(43.05, 65.98, -48.88)
CIE-LCHlch(43.05, 82.11, 323.47°)
OKLaboklab(53.82% 0.174 -0.1368)
OKLCHoklch(53.82% 0.221 321.8)
XYZxyz(25.0317, 13.1892, 46.5654)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BB8 #3EB82B
analogous
#5F2BB8 #A52BB8 #B82B85
triadic
#A52BB8 #B8A52B #2BB8A5
tetradic
#A52BB8 #B85F2B #3EB82B #2B85B8
square
#A52BB8 #B85F2B #3EB82B #2B85B8
split-complementary
#A52BB8 #85B82B #2BB85F
monochromatic
#4C1455 #791F86 #A52BB8 #C24BD5 #D37DE1

Accessibility & contrast

On white

5.77
#A52BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A52BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52BB8
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BB8#FFFFFF#000000##FFFFFF
##A52BB81.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#3F6AB5
Tritanopia (blue-blind)
#A74771
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52bb8;
/* rgb */ color: rgb(165, 43, 184);
/* oklch */ color: oklch(53.8% 0.221 321.8);
Tailwind
colors: {
  custom: {
    50: '#c472ce',
    500: '#a52bb8',
    950: '#000000',
  },
}
SCSS
$custom: #a52bb8;
$custom-light: #c472ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a52bb8",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 291.915,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53818,
    "c": 0.22137,
    "h": 321.8
  },
  "luminance": 0.13188
}

Semantic roles & 50–950 ramp

primary
#A52BB8
secondary
#81C976
accent
#E54359
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A52BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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