#A524B1#A524B1

#A524B1 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.9% C 0.222 H 324.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A524B1
RGBrgb(165, 36, 177)
HSLhsl(295, 66%, 42%)
HSVhsv(295, 80%, 69%)
CMYKcmyk(6.8%, 79.7%, 0%, 30.6%)
CIE-LABlab(41.90, 66.81, -46.58)
CIE-LCHlch(41.90, 81.45, 325.12°)
OKLaboklab(52.87% 0.1802 -0.1301)
OKLCHoklch(52.87% 0.222 324.2)
XYZxyz(24.0831, 12.4370, 42.7185)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A524B1 #30B124
analogous
#5F24B1 #A524B1 #B12476
triadic
#A524B1 #B1A524 #24B1A5
tetradic
#A524B1 #B15F24 #30B124 #2476B1
square
#A524B1 #B15F24 #30B124 #2476B1
split-complementary
#A524B1 #76B124 #24B15F
monochromatic
#460F4B #761A7E #A524B1 #CA3BD7 #D86EE1

Accessibility & contrast

On white

6.02
#A524B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A524B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A524B1
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A524B1#FFFFFF#000000##FFFFFF
##A524B11.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#4168AE
Tritanopia (blue-blind)
#A8406B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a524b1;
/* rgb */ color: rgb(165, 36, 177);
/* oklch */ color: oklch(52.9% 0.222 324.2);
Tailwind
colors: {
  custom: {
    50: '#c46fc9',
    500: '#a524b1',
    950: '#000000',
  },
}
SCSS
$custom: #a524b1;
$custom-light: #c46fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a524b1",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 294.894,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52868,
    "c": 0.22226,
    "h": 324.2
  },
  "luminance": 0.12435
}

Semantic roles & 50–950 ramp

primary
#A524B1
secondary
#71C869
accent
#E93F4D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A524B1

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

Preview Lab → · Contrast checker → · Palette generator →

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