#A52CB3#A52CB3

#A52CB3 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.216 H 323.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A52CB3
RGBrgb(165, 44, 179)
HSLhsl(294, 61%, 44%)
HSVhsv(294, 75%, 70%)
CMYKcmyk(7.8%, 75.4%, 0%, 29.8%)
CIE-LABlab(42.85, 64.78, -46.25)
CIE-LCHlch(42.85, 79.60, 324.48°)
OKLaboklab(53.58% 0.1736 -0.1291)
OKLCHoklch(53.58% 0.216 323.3)
XYZxyz(24.5537, 13.0569, 43.8660)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CB3 #3AB32C
analogous
#612CB3 #A52CB3 #B32C7D
triadic
#A52CB3 #B3A52C #2CB3A5
tetradic
#A52CB3 #B3612C #3AB32C #2C7DB3
square
#A52CB3 #B3612C #3AB32C #2C7DB3
split-complementary
#A52CB3 #7DB32C #2CB361
monochromatic
#4A1451 #782082 #A52CB3 #C44AD2 #D47BDF

Accessibility & contrast

On white

5.82
#A52CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A52CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52CB3
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CB3#FFFFFF#000000##FFFFFF
##A52CB31.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#446AB0
Tritanopia (blue-blind)
#A8466E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52cb3;
/* rgb */ color: rgb(165, 44, 179);
/* oklch */ color: oklch(53.6% 0.216 323.3);
Tailwind
colors: {
  custom: {
    50: '#c473ca',
    500: '#a52cb3',
    950: '#000000',
  },
}
SCSS
$custom: #a52cb3;
$custom-light: #c473ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a52cb3",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 293.778,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53578,
    "c": 0.21635,
    "h": 323.3
  },
  "luminance": 0.13055
}

Semantic roles & 50–950 ramp

primary
#A52CB3
secondary
#7DC774
accent
#E44455
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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