#A528B1#A528B1

#A528B1 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.219 H 324.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A528B1
RGBrgb(165, 40, 177)
HSLhsl(295, 63%, 43%)
HSVhsv(295, 77%, 69%)
CMYKcmyk(6.8%, 77.4%, 0%, 30.6%)
CIE-LABlab(42.30, 65.67, -45.95)
CIE-LCHlch(42.30, 80.15, 325.02°)
OKLaboklab(53.15% 0.1771 -0.1282)
OKLCHoklch(53.15% 0.219 324.1)
XYZxyz(24.2110, 12.6928, 42.7612)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A528B1 #34B128
analogous
#6128B1 #A528B1 #B12878
triadic
#A528B1 #B1A528 #28B1A5
tetradic
#A528B1 #B16128 #34B128 #2878B1
square
#A528B1 #B16128 #34B128 #2878B1
split-complementary
#A528B1 #78B128 #28B161
monochromatic
#48114D #761D7F #A528B1 #C742D4 #D674E0

Accessibility & contrast

On white

5.94
#A528B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A528B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A528B1
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A528B1#FFFFFF#000000##FFFFFF
##A528B11.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#4369AE
Tritanopia (blue-blind)
#A8426C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a528b1;
/* rgb */ color: rgb(165, 40, 177);
/* oklch */ color: oklch(53.1% 0.219 324.1);
Tailwind
colors: {
  custom: {
    50: '#c471c9',
    500: '#a528b1',
    950: '#000000',
  },
}
SCSS
$custom: #a528b1;
$custom-light: #c471c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a528b1",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 294.745,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53147,
    "c": 0.21865,
    "h": 324.1
  },
  "luminance": 0.12691
}

Semantic roles & 50–950 ramp

primary
#A528B1
secondary
#76C76E
accent
#E64250
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A528B1

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

Preview Lab → · Contrast checker → · Palette generator →

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