#A52EB8#A52EB8

#A52EB8 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.218 H 321.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A52EB8
RGBrgb(165, 46, 184)
HSLhsl(292, 60%, 45%)
HSVhsv(292, 75%, 72%)
CMYKcmyk(10.3%, 75%, 0%, 27.8%)
CIE-LABlab(43.38, 65.02, -48.34)
CIE-LCHlch(43.38, 81.02, 323.37°)
OKLaboklab(54.06% 0.1714 -0.1353)
OKLCHoklch(54.06% 0.218 321.7)
XYZxyz(25.1448, 13.4154, 46.6031)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EB8 #41B82E
analogous
#602EB8 #A52EB8 #B82E86
triadic
#A52EB8 #B8A52E #2EB8A5
tetradic
#A52EB8 #B8602E #41B82E #2E86B8
square
#A52EB8 #B8602E #41B82E #2E86B8
split-complementary
#A52EB8 #86B82E #2EB860
monochromatic
#4D1656 #792287 #A52EB8 #C150D3 #D281DF

Accessibility & contrast

On white

5.70
#A52EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A52EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52EB8
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EB8#FFFFFF#000000##FFFFFF
##A52EB81.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#416BB5
Tritanopia (blue-blind)
#A74971
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52eb8;
/* rgb */ color: rgb(165, 46, 184);
/* oklch */ color: oklch(54.1% 0.218 321.7);
Tailwind
colors: {
  custom: {
    50: '#c474ce',
    500: '#a52eb8',
    950: '#000000',
  },
}
SCSS
$custom: #a52eb8;
$custom-light: #c474ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a52eb8",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 291.739,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54056,
    "c": 0.21837,
    "h": 321.7
  },
  "luminance": 0.13414
}

Semantic roles & 50–950 ramp

primary
#A52EB8
secondary
#84C879
accent
#E3455A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A52EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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