#A526A7#A526A7

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

Color values

HEX#A526A7
RGBrgb(165, 38, 167)
HSLhsl(299, 63%, 40%)
HSVhsv(299, 77%, 65%)
CMYKcmyk(1.2%, 77.2%, 0%, 34.5%)
CIE-LABlab(41.50, 64.58, -41.28)
CIE-LCHlch(41.50, 76.65, 327.41°)
OKLaboklab(52.39% 0.1793 -0.1146)
OKLCHoklch(52.39% 0.213 327.4)
XYZxyz(23.1849, 12.1773, 37.6810)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A526A7 #28A726
analogous
#6526A7 #A526A7 #A72668
triadic
#A526A7 #A7A526 #26A7A5
tetradic
#A526A7 #A76526 #28A726 #2668A7
square
#A526A7 #A76526 #28A726 #2668A7
split-complementary
#A526A7 #68A726 #26A765
monochromatic
#420F43 #741B75 #A526A7 #CF38D2 #DB6ADD

Accessibility & contrast

On white

6.11
#A526A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A526A7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A526A7#FFFFFF#000000##FFFFFF
##A526A71.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#4967A4
Tritanopia (blue-blind)
#AA3C66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a526a7;
/* rgb */ color: rgb(165, 38, 167);
/* oklch */ color: oklch(52.4% 0.213 327.4);
Tailwind
colors: {
  custom: {
    50: '#c470c2',
    500: '#a526a7',
    950: '#000000',
  },
}
SCSS
$custom: #a526a7;
$custom-light: #c470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a526a7",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 299.07,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52387,
    "c": 0.21279,
    "h": 327.4
  },
  "luminance": 0.12176
}

Semantic roles & 50–950 ramp

primary
#A526A7
secondary
#67C365
accent
#E64244
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A526A7

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

Preview Lab → · Contrast checker → · Palette generator →

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