#A52EB4#A52EB4

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

Color values

HEX#A52EB4
RGBrgb(165, 46, 180)
HSLhsl(293, 59%, 44%)
HSVhsv(293, 74%, 71%)
CMYKcmyk(8.3%, 74.4%, 0%, 29.4%)
CIE-LABlab(43.14, 64.30, -46.38)
CIE-LCHlch(43.14, 79.28, 324.20°)
OKLaboklab(53.8% 0.1717 -0.1295)
OKLCHoklch(53.8% 0.215 323)
XYZxyz(24.7315, 13.2501, 44.4260)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EB4 #3DB42E
analogous
#622EB4 #A52EB4 #B42E80
triadic
#A52EB4 #B4A52E #2EB4A5
tetradic
#A52EB4 #B4622E #3DB42E #2E80B4
square
#A52EB4 #B4622E #3DB42E #2E80B4
split-complementary
#A52EB4 #80B42E #2EB462
monochromatic
#4C1553 #782283 #A52EB4 #C34ED2 #D37EDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52EB4#FFFFFF#000000##FFFFFF
##A52EB41.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)
#005DB8
Deuteranopia (green-blind)
#446AB1
Tritanopia (blue-blind)
#A7476F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52eb4;
/* rgb */ color: rgb(165, 46, 180);
/* oklch */ color: oklch(53.8% 0.215 323.0);
Tailwind
colors: {
  custom: {
    50: '#c473cb',
    500: '#a52eb4',
    950: '#000000',
  },
}
SCSS
$custom: #a52eb4;
$custom-light: #c473cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a52eb4",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 293.284,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.2151,
    "h": 323
  },
  "luminance": 0.13249
}

Semantic roles & 50–950 ramp

primary
#A52EB4
secondary
#80C777
accent
#E24557
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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