#A526A9#A526A9

#A526A9 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.214 H 326.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A526A9
RGBrgb(165, 38, 169)
HSLhsl(298, 63%, 41%)
HSVhsv(298, 78%, 66%)
CMYKcmyk(2.4%, 77.5%, 0%, 33.7%)
CIE-LABlab(41.61, 64.91, -42.29)
CIE-LCHlch(41.61, 77.47, 326.91°)
OKLaboklab(52.51% 0.1792 -0.1176)
OKLCHoklch(52.51% 0.214 326.7)
XYZxyz(23.3712, 12.2518, 38.6623)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A526A9 #2AA926
analogous
#6326A9 #A526A9 #A9266B
triadic
#A526A9 #A9A526 #26A9A5
tetradic
#A526A9 #A96326 #2AA926 #266BA9
square
#A526A9 #A96326 #2AA926 #266BA9
split-complementary
#A526A9 #6BA926 #26A963
monochromatic
#431045 #741B77 #A526A9 #CE3AD3 #DA6CDE

Accessibility & contrast

On white

6.09
#A526A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A526A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A526A9
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A526A9#FFFFFF#000000##FFFFFF
##A526A91.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4868A6
Tritanopia (blue-blind)
#AA3D67
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a526a9;
/* rgb */ color: rgb(165, 38, 169);
/* oklch */ color: oklch(52.5% 0.214 326.7);
Tailwind
colors: {
  custom: {
    50: '#c470c3',
    500: '#a526a9',
    950: '#000000',
  },
}
SCSS
$custom: #a526a9;
$custom-light: #c470c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a526a9",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 298.168,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52508,
    "c": 0.21432,
    "h": 326.7
  },
  "luminance": 0.1225
}

Semantic roles & 50–950 ramp

primary
#A526A9
secondary
#69C467
accent
#E64147
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A526A9

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

Preview Lab → · Contrast checker → · Palette generator →

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