#A526A2#A526A2

#A526A2 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.209 H 329.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A526A2
RGBrgb(165, 38, 162)
HSLhsl(301, 63%, 40%)
HSVhsv(301, 77%, 65%)
CMYKcmyk(0%, 77%, 1.8%, 35.3%)
CIE-LABlab(41.21, 63.77, -38.75)
CIE-LCHlch(41.21, 74.62, 328.71°)
OKLaboklab(52.09% 0.1794 -0.1072)
OKLCHoklch(52.09% 0.209 329.1)
XYZxyz(22.7316, 11.9959, 35.2936)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A526A2 #26A529
analogous
#6826A5 #A526A2 #A52663
triadic
#A526A2 #A2A526 #26A2A5
tetradic
#A526A2 #A56826 #26A529 #2663A5
square
#A526A2 #A56826 #26A529 #2663A5
split-complementary
#A526A2 #63A526 #26A568
monochromatic
#420F40 #731B71 #A526A2 #D137CD #DC69DA

Accessibility & contrast

On white

6.18
#A526A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A526A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A526A2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A526A2#FFFFFF#000000##FFFFFF
##A526A21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C56A5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#AB3A63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a526a2;
/* rgb */ color: rgb(165, 38, 162);
/* oklch */ color: oklch(52.1% 0.209 329.1);
Tailwind
colors: {
  custom: {
    50: '#c46fbe',
    500: '#a526a2',
    950: '#000000',
  },
}
SCSS
$custom: #a526a2;
$custom-light: #c46fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a526a2",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 301.417,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5209,
    "c": 0.20901,
    "h": 329.1
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

primary
#A526A2
secondary
#64C367
accent
#E64642
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A526A2

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

Preview Lab → · Contrast checker → · Palette generator →

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