#A526A0#A526A0

#A526A0 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.208 H 329.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A526A0
RGBrgb(165, 38, 160)
HSLhsl(302, 63%, 40%)
HSVhsv(302, 77%, 65%)
CMYKcmyk(0%, 77%, 3%, 35.3%)
CIE-LABlab(41.10, 63.45, -37.73)
CIE-LCHlch(41.10, 73.82, 329.26°)
OKLaboklab(51.97% 0.1794 -0.1043)
OKLCHoklch(51.97% 0.208 329.8)
XYZxyz(22.5552, 11.9254, 34.3648)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A526A0 #26A52B
analogous
#6A26A5 #A526A0 #A52661
triadic
#A526A0 #A0A526 #26A0A5
tetradic
#A526A0 #A56A26 #26A52B #2661A5
square
#A526A0 #A56A26 #26A52B #2661A5
split-complementary
#A526A0 #61A526 #26A56A
monochromatic
#420F40 #731B70 #A526A0 #D137CB #DC69D8

Accessibility & contrast

On white

6.20
#A526A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A526A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A526A0
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A526A0#FFFFFF#000000##FFFFFF
##A526A01.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1156A3
Deuteranopia (green-blind)
#4D679D
Tritanopia (blue-blind)
#AB3962
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a526a0;
/* rgb */ color: rgb(165, 38, 160);
/* oklch */ color: oklch(52.0% 0.208 329.8);
Tailwind
colors: {
  custom: {
    50: '#c46fbc',
    500: '#a526a0',
    950: '#000000',
  },
}
SCSS
$custom: #a526a0;
$custom-light: #c46fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a526a0",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 302.362,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51974,
    "c": 0.20753,
    "h": 329.8
  },
  "luminance": 0.11924
}

Semantic roles & 50–950 ramp

primary
#A526A0
secondary
#64C368
accent
#E64942
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A526A0

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

Preview Lab → · Contrast checker → · Palette generator →

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