#A52BB7#A52BB7

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

Color values

HEX#A52BB7
RGBrgb(165, 43, 183)
HSLhsl(292, 62%, 44%)
HSVhsv(292, 77%, 72%)
CMYKcmyk(9.8%, 76.5%, 0%, 28.2%)
CIE-LABlab(42.98, 65.80, -48.39)
CIE-LCHlch(42.98, 81.68, 323.67°)
OKLaboklab(53.75% 0.1741 -0.1354)
OKLCHoklch(53.75% 0.221 322.1)
XYZxyz(24.9273, 13.1474, 46.0153)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BB7 #3DB72B
analogous
#5F2BB7 #A52BB7 #B72B83
triadic
#A52BB7 #B7A52B #2BB7A5
tetradic
#A52BB7 #B75F2B #3DB72B #2B83B7
square
#A52BB7 #B75F2B #3DB72B #2B83B7
split-complementary
#A52BB7 #83B72B #2BB75F
monochromatic
#4C1454 #781F85 #A52BB7 #C34BD5 #D37CE0

Accessibility & contrast

On white

5.79
#A52BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A52BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52BB7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BB7#FFFFFF#000000##FFFFFF
##A52BB71.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#406AB4
Tritanopia (blue-blind)
#A74770
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52bb7;
/* rgb */ color: rgb(165, 43, 183);
/* oklch */ color: oklch(53.8% 0.221 322.1);
Tailwind
colors: {
  custom: {
    50: '#c472cd',
    500: '#a52bb7',
    950: '#000000',
  },
}
SCSS
$custom: #a52bb7;
$custom-light: #c472cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a52bb7",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 292.286,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53753,
    "c": 0.22056,
    "h": 322.1
  },
  "luminance": 0.13146
}

Semantic roles & 50–950 ramp

primary
#A52BB7
secondary
#80C975
accent
#E54358
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A52BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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