#A526AF#A526AF

#A526AF is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.219 H 324.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A526AF
RGBrgb(165, 38, 175)
HSLhsl(296, 64%, 42%)
HSVhsv(296, 78%, 69%)
CMYKcmyk(5.7%, 78.3%, 0%, 31.4%)
CIE-LABlab(41.97, 65.92, -45.28)
CIE-LCHlch(41.97, 79.97, 325.51°)
OKLaboklab(52.88% 0.1789 -0.1263)
OKLCHoklch(52.88% 0.219 324.8)
XYZxyz(23.9474, 12.4823, 41.6971)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A526AF #30AF26
analogous
#6026AF #A526AF #AF2675
triadic
#A526AF #AFA526 #26AFA5
tetradic
#A526AF #AF6026 #30AF26 #2675AF
square
#A526AF #AF6026 #30AF26 #2675AF
split-complementary
#A526AF #75AF26 #26AF60
monochromatic
#46104A #761B7D #A526AF #CA3DD5 #D870E0

Accessibility & contrast

On white

6.01
#A526AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A526AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A526AF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A526AF#FFFFFF#000000##FFFFFF
##A526AF1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#4468AC
Tritanopia (blue-blind)
#A9406A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a526af;
/* rgb */ color: rgb(165, 38, 175);
/* oklch */ color: oklch(52.9% 0.219 324.8);
Tailwind
colors: {
  custom: {
    50: '#c470c7',
    500: '#a526af',
    950: '#000000',
  },
}
SCSS
$custom: #a526af;
$custom-light: #c470c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a526af",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 295.62,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52878,
    "c": 0.21894,
    "h": 324.8
  },
  "luminance": 0.12481
}

Semantic roles & 50–950 ramp

primary
#A526AF
secondary
#71C76A
accent
#E7404D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A526AF

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

Preview Lab → · Contrast checker → · Palette generator →

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