#A528B0#A528B0

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

Color values

HEX#A528B0
RGBrgb(165, 40, 176)
HSLhsl(295, 63%, 42%)
HSVhsv(295, 77%, 69%)
CMYKcmyk(6.2%, 77.3%, 0%, 31%)
CIE-LABlab(42.24, 65.50, -45.46)
CIE-LCHlch(42.24, 79.73, 325.24°)
OKLaboklab(53.08% 0.1772 -0.1268)
OKLCHoklch(53.08% 0.218 324.4)
XYZxyz(24.1117, 12.6531, 42.2382)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A528B0 #33B028
analogous
#6128B0 #A528B0 #B02877
triadic
#A528B0 #B0A528 #28B0A5
tetradic
#A528B0 #B06128 #33B028 #2877B0
square
#A528B0 #B06128 #33B028 #2877B0
split-complementary
#A528B0 #77B028 #28B061
monochromatic
#48114C #761D7E #A528B0 #C841D4 #D673DF

Accessibility & contrast

On white

5.95
#A528B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A528B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A528B0
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A528B0#FFFFFF#000000##FFFFFF
##A528B01.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#4469AD
Tritanopia (blue-blind)
#A8426B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a528b0;
/* rgb */ color: rgb(165, 40, 176);
/* oklch */ color: oklch(53.1% 0.218 324.4);
Tailwind
colors: {
  custom: {
    50: '#c471c8',
    500: '#a528b0',
    950: '#000000',
  },
}
SCSS
$custom: #a528b0;
$custom-light: #c471c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a528b0",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 295.147,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53084,
    "c": 0.21787,
    "h": 324.4
  },
  "luminance": 0.12652
}

Semantic roles & 50–950 ramp

primary
#A528B0
secondary
#75C66D
accent
#E6424F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A528B0

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

Preview Lab → · Contrast checker → · Palette generator →

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