#A526A6#A526A6

#A526A6 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.212 H 327.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A526A6
RGBrgb(165, 38, 166)
HSLhsl(300, 63%, 40%)
HSVhsv(300, 77%, 65%)
CMYKcmyk(0.6%, 77.1%, 0%, 34.9%)
CIE-LABlab(41.44, 64.42, -40.78)
CIE-LCHlch(41.44, 76.24, 327.66°)
OKLaboklab(52.33% 0.1793 -0.1132)
OKLCHoklch(52.33% 0.212 327.7)
XYZxyz(23.0928, 12.1404, 37.1961)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A526A6 #27A626
analogous
#6526A6 #A526A6 #A62667
triadic
#A526A6 #A6A526 #26A6A5
tetradic
#A526A6 #A66526 #27A626 #2667A6
square
#A526A6 #A66526 #27A626 #2667A6
split-complementary
#A526A6 #67A626 #26A665
monochromatic
#420F42 #731B74 #A526A6 #D038D1 #DC6ADD

Accessibility & contrast

On white

6.13
#A526A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A526A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A526A6
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A526A6#FFFFFF#000000##FFFFFF
##A526A61.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4A67A3
Tritanopia (blue-blind)
#AA3C65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a526a6;
/* rgb */ color: rgb(165, 38, 166);
/* oklch */ color: oklch(52.3% 0.212 327.7);
Tailwind
colors: {
  custom: {
    50: '#c470c1',
    500: '#a526a6',
    950: '#000000',
  },
}
SCSS
$custom: #a526a6;
$custom-light: #c470c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a526a6",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 299.531,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.52327,
    "c": 0.21204,
    "h": 327.7
  },
  "luminance": 0.12139
}

Semantic roles & 50–950 ramp

primary
#A526A6
secondary
#66C365
accent
#E64243
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A526A6

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

Preview Lab → · Contrast checker → · Palette generator →

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