#A526B1#A526B1

#A526B1 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.220 H 324.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A526B1
RGBrgb(165, 38, 177)
HSLhsl(295, 65%, 42%)
HSVhsv(295, 79%, 69%)
CMYKcmyk(6.8%, 78.5%, 0%, 30.6%)
CIE-LABlab(42.09, 66.26, -46.27)
CIE-LCHlch(42.09, 80.82, 325.07°)
OKLaboklab(53% 0.1787 -0.1292)
OKLCHoklch(53% 0.22 324.1)
XYZxyz(24.1453, 12.5614, 42.7393)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A526B1 #32B126
analogous
#6026B1 #A526B1 #B12678
triadic
#A526B1 #B1A526 #26B1A5
tetradic
#A526B1 #B16026 #32B126 #2678B1
square
#A526B1 #B16026 #32B126 #2678B1
split-complementary
#A526B1 #78B126 #26B160
monochromatic
#47104C #761B7F #A526B1 #C93FD6 #D771E0

Accessibility & contrast

On white

5.98
#A526B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A526B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A526B1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A526B1#FFFFFF#000000##FFFFFF
##A526B11.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#4268AE
Tritanopia (blue-blind)
#A8416C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a526b1;
/* rgb */ color: rgb(165, 38, 177);
/* oklch */ color: oklch(53.0% 0.220 324.1);
Tailwind
colors: {
  custom: {
    50: '#c470c9',
    500: '#a526b1',
    950: '#000000',
  },
}
SCSS
$custom: #a526b1;
$custom-light: #c470c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a526b1",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 294.82,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53004,
    "c": 0.22049,
    "h": 324.1
  },
  "luminance": 0.1256
}

Semantic roles & 50–950 ramp

primary
#A526B1
secondary
#73C76B
accent
#E8404F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A526B1

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

Preview Lab → · Contrast checker → · Palette generator →

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