#A52CB8#A52CB8

#A52CB8 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.220 H 321.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A52CB8
RGBrgb(165, 44, 184)
HSLhsl(292, 61%, 45%)
HSVhsv(292, 76%, 72%)
CMYKcmyk(10.3%, 76.1%, 0%, 27.8%)
CIE-LABlab(43.16, 65.67, -48.70)
CIE-LCHlch(43.16, 81.76, 323.44°)
OKLaboklab(53.9% 0.1732 -0.1363)
OKLCHoklch(53.9% 0.22 321.8)
XYZxyz(25.0685, 13.2628, 46.5777)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CB8 #3FB82C
analogous
#5F2CB8 #A52CB8 #B82C85
triadic
#A52CB8 #B8A52C #2CB8A5
tetradic
#A52CB8 #B85F2C #3FB82C #2C85B8
square
#A52CB8 #B85F2C #3FB82C #2C85B8
split-complementary
#A52CB8 #85B82C #2CB85F
monochromatic
#4C1455 #792087 #A52CB8 #C24DD4 #D37EE0

Accessibility & contrast

On white

5.75
#A52CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A52CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52CB8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CB8#FFFFFF#000000##FFFFFF
##A52CB81.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#406AB5
Tritanopia (blue-blind)
#A74871
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52cb8;
/* rgb */ color: rgb(165, 44, 184);
/* oklch */ color: oklch(53.9% 0.220 321.8);
Tailwind
colors: {
  custom: {
    50: '#c473ce',
    500: '#a52cb8',
    950: '#000000',
  },
}
SCSS
$custom: #a52cb8;
$custom-light: #c473ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a52cb8",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 291.857,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53895,
    "c": 0.22039,
    "h": 321.8
  },
  "luminance": 0.13261
}

Semantic roles & 50–950 ramp

primary
#A52CB8
secondary
#82C977
accent
#E54359
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A52CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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