#A526BD#A526BD

#A526BD is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.230 H 320.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A526BD
RGBrgb(165, 38, 189)
HSLhsl(290, 67%, 45%)
HSVhsv(290, 80%, 74%)
CMYKcmyk(12.7%, 79.9%, 0%, 25.9%)
CIE-LABlab(42.86, 68.35, -52.12)
CIE-LCHlch(42.86, 85.95, 322.67°)
OKLaboklab(53.78% 0.1774 -0.1463)
OKLCHoklch(53.78% 0.23 320.5)
XYZxyz(25.3944, 13.0611, 49.3177)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A526BD #3EBD26
analogous
#5A26BD #A526BD #BD2689
triadic
#A526BD #BDA526 #26BDA5
tetradic
#A526BD #BD5A26 #3EBD26 #2689BD
square
#A526BD #BD5A26 #3EBD26 #2689BD
split-complementary
#A526BD #89BD26 #26BD5A
monochromatic
#4C1257 #791C8A #A526BD #C246DA #D379E4

Accessibility & contrast

On white

5.81
#A526BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A526BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A526BD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A526BD#FFFFFF#000000##FFFFFF
##A526BD1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#3869BA
Tritanopia (blue-blind)
#A64772
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a526bd;
/* rgb */ color: rgb(165, 38, 189);
/* oklch */ color: oklch(53.8% 0.230 320.5);
Tailwind
colors: {
  custom: {
    50: '#c471d2',
    500: '#a526bd',
    950: '#000000',
  },
}
SCSS
$custom: #a526bd;
$custom-light: #c471d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a526bd",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 290.464,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53784,
    "c": 0.22994,
    "h": 320.5
  },
  "luminance": 0.1306
}

Semantic roles & 50–950 ramp

primary
#A526BD
secondary
#81CC73
accent
#E93E5A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A526BD

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

Preview Lab → · Contrast checker → · Palette generator →

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