#A526A1#A526A1

#A526A1 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.208 H 329.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A526A1
RGBrgb(165, 38, 161)
HSLhsl(302, 63%, 40%)
HSVhsv(302, 77%, 65%)
CMYKcmyk(0%, 77%, 2.4%, 35.3%)
CIE-LABlab(41.15, 63.61, -38.24)
CIE-LCHlch(41.15, 74.22, 328.99°)
OKLaboklab(52.03% 0.1794 -0.1058)
OKLCHoklch(52.03% 0.208 329.5)
XYZxyz(22.6430, 11.9605, 34.8273)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A526A1 #26A52A
analogous
#6A26A5 #A526A1 #A52661
triadic
#A526A1 #A1A526 #26A1A5
tetradic
#A526A1 #A56A26 #26A52A #2661A5
square
#A526A1 #A56A26 #26A52A #2661A5
split-complementary
#A526A1 #61A526 #26A56A
monochromatic
#420F40 #731B70 #A526A1 #D137CC #DC69D9

Accessibility & contrast

On white

6.19
#A526A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A526A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A526A1
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A526A1#FFFFFF#000000##FFFFFF
##A526A11.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F56A4
Deuteranopia (green-blind)
#4D679E
Tritanopia (blue-blind)
#AB3963
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a526a1;
/* rgb */ color: rgb(165, 38, 161);
/* oklch */ color: oklch(52.0% 0.208 329.5);
Tailwind
colors: {
  custom: {
    50: '#c46fbd',
    500: '#a526a1',
    950: '#000000',
  },
}
SCSS
$custom: #a526a1;
$custom-light: #c46fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#a526a1",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 301.89,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52032,
    "c": 0.20827,
    "h": 329.5
  },
  "luminance": 0.11959
}

Semantic roles & 50–950 ramp

primary
#A526A1
secondary
#64C367
accent
#E64742
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A526A1

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

Preview Lab → · Contrast checker → · Palette generator →

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