#A52BB2#A52BB2

#A52BB2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.217 H 323.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A52BB2
RGBrgb(165, 43, 178)
HSLhsl(294, 61%, 43%)
HSVhsv(294, 76%, 70%)
CMYKcmyk(7.3%, 75.8%, 0%, 30.2%)
CIE-LABlab(42.68, 64.93, -45.93)
CIE-LCHlch(42.68, 79.53, 324.72°)
OKLaboklab(53.44% 0.1745 -0.1282)
OKLCHoklch(53.44% 0.217 323.7)
XYZxyz(24.4161, 12.9430, 43.3231)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BB2 #38B22B
analogous
#612BB2 #A52BB2 #B22B7B
triadic
#A52BB2 #B2A52B #2BB2A5
tetradic
#A52BB2 #B2612B #38B22B #2B7BB2
square
#A52BB2 #B2612B #38B22B #2B7BB2
split-complementary
#A52BB2 #7BB22B #2BB261
monochromatic
#4A134F #771F81 #A52BB2 #C548D3 #D579DF

Accessibility & contrast

On white

5.85
#A52BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A52BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52BB2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BB2#FFFFFF#000000##FFFFFF
##A52BB21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#446AAF
Tritanopia (blue-blind)
#A8456D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52bb2;
/* rgb */ color: rgb(165, 43, 178);
/* oklch */ color: oklch(53.4% 0.217 323.7);
Tailwind
colors: {
  custom: {
    50: '#c472ca',
    500: '#a52bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a52bb2;
$custom-light: #c472ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a52bb2",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 294.222,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53437,
    "c": 0.21654,
    "h": 323.7
  },
  "luminance": 0.12941
}

Semantic roles & 50–950 ramp

primary
#A52BB2
secondary
#7AC772
accent
#E44453
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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