#A526AC#A526AC

#A526AC is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.217 H 325.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A526AC
RGBrgb(165, 38, 172)
HSLhsl(297, 64%, 41%)
HSVhsv(297, 78%, 67%)
CMYKcmyk(4.1%, 77.9%, 0%, 32.5%)
CIE-LABlab(41.79, 65.41, -43.79)
CIE-LCHlch(41.79, 78.72, 326.20°)
OKLaboklab(52.69% 0.179 -0.1219)
OKLCHoklch(52.69% 0.217 325.7)
XYZxyz(23.6561, 12.3657, 40.1626)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A526AC #2DAC26
analogous
#6226AC #A526AC #AC2670
triadic
#A526AC #ACA526 #26ACA5
tetradic
#A526AC #AC6226 #2DAC26 #2670AC
square
#A526AC #AC6226 #2DAC26 #2670AC
split-complementary
#A526AC #70AC26 #26AC62
monochromatic
#451048 #751B7A #A526AC #CC3BD4 #D96EDF

Accessibility & contrast

On white

6.05
#A526AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A526AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A526AC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A526AC#FFFFFF#000000##FFFFFF
##A526AC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#4668A9
Tritanopia (blue-blind)
#A93F69
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a526ac;
/* rgb */ color: rgb(165, 38, 172);
/* oklch */ color: oklch(52.7% 0.217 325.7);
Tailwind
colors: {
  custom: {
    50: '#c470c5',
    500: '#a526ac',
    950: '#000000',
  },
}
SCSS
$custom: #a526ac;
$custom-light: #c470c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a526ac",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 296.866,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52692,
    "c": 0.21662,
    "h": 325.7
  },
  "luminance": 0.12364
}

Semantic roles & 50–950 ramp

primary
#A526AC
secondary
#6DC568
accent
#E7414A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A526AC

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

Preview Lab → · Contrast checker → · Palette generator →

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