#A526A8#A526A8

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

Color values

HEX#A526A8
RGBrgb(165, 38, 168)
HSLhsl(299, 63%, 40%)
HSVhsv(299, 77%, 66%)
CMYKcmyk(1.8%, 77.4%, 0%, 34.1%)
CIE-LABlab(41.55, 64.75, -41.79)
CIE-LCHlch(41.55, 77.06, 327.16°)
OKLaboklab(52.45% 0.1792 -0.1161)
OKLCHoklch(52.45% 0.214 327.1)
XYZxyz(23.2777, 12.2144, 38.1698)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A526A8 #29A826
analogous
#6426A8 #A526A8 #A8266A
triadic
#A526A8 #A8A526 #26A8A5
tetradic
#A526A8 #A86426 #29A826 #266AA8
square
#A526A8 #A86426 #29A826 #266AA8
split-complementary
#A526A8 #6AA826 #26A864
monochromatic
#430F44 #741B76 #A526A8 #CF39D2 #DB6BDE

Accessibility & contrast

On white

6.10
#A526A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A526A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A526A8
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A526A8#FFFFFF#000000##FFFFFF
##A526A81.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#4867A5
Tritanopia (blue-blind)
#AA3D66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a526a8;
/* rgb */ color: rgb(165, 38, 168);
/* oklch */ color: oklch(52.4% 0.214 327.1);
Tailwind
colors: {
  custom: {
    50: '#c470c2',
    500: '#a526a8',
    950: '#000000',
  },
}
SCSS
$custom: #a526a8;
$custom-light: #c470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a526a8",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 298.615,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52447,
    "c": 0.21355,
    "h": 327.1
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#A526A8
secondary
#68C466
accent
#E64245
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A526A8

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

Preview Lab → · Contrast checker → · Palette generator →

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