#A526A3#A526A3

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

Color values

HEX#A526A3
RGBrgb(165, 38, 163)
HSLhsl(301, 63%, 40%)
HSVhsv(301, 77%, 65%)
CMYKcmyk(0%, 77%, 1.2%, 35.3%)
CIE-LABlab(41.27, 63.93, -39.26)
CIE-LCHlch(41.27, 75.02, 328.45°)
OKLaboklab(52.15% 0.1794 -0.1087)
OKLCHoklch(52.15% 0.21 328.8)
XYZxyz(22.8208, 12.0316, 35.7636)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A526A3 #26A528
analogous
#6826A5 #A526A3 #A52663
triadic
#A526A3 #A3A526 #26A3A5
tetradic
#A526A3 #A56826 #26A528 #2663A5
square
#A526A3 #A56826 #26A528 #2663A5
split-complementary
#A526A3 #63A526 #26A568
monochromatic
#420F41 #731B72 #A526A3 #D137CF #DC69DB

Accessibility & contrast

On white

6.17
#A526A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A526A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A526A3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A526A3#FFFFFF#000000##FFFFFF
##A526A31.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0957A6
Deuteranopia (green-blind)
#4C67A0
Tritanopia (blue-blind)
#AB3A64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a526a3;
/* rgb */ color: rgb(165, 38, 163);
/* oklch */ color: oklch(52.1% 0.210 328.8);
Tailwind
colors: {
  custom: {
    50: '#c470bf',
    500: '#a526a3',
    950: '#000000',
  },
}
SCSS
$custom: #a526a3;
$custom-light: #c470bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a526a3",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 300.945,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52149,
    "c": 0.20977,
    "h": 328.8
  },
  "luminance": 0.1203
}

Semantic roles & 50–950 ramp

primary
#A526A3
secondary
#64C366
accent
#E64542
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A526A3

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

Preview Lab → · Contrast checker → · Palette generator →

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