#8A529B#8A529B

#8A529B is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.2% C 0.126 H 318.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8A529B
RGBrgb(138, 82, 155)
HSLhsl(286, 31%, 46%)
HSVhsv(286, 47%, 61%)
CMYKcmyk(11%, 47.1%, 0%, 39.2%)
CIE-LABlab(43.95, 36.05, -30.50)
CIE-LCHlch(43.95, 47.22, 319.77°)
OKLaboklab(53.16% 0.0936 -0.0844)
OKLCHoklch(53.16% 0.126 318)
XYZxyz(19.4141, 13.8050, 32.6460)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A529B #639B52
analogous
#66529B #8A529B #9B5288
triadic
#8A529B #9B8A52 #529B8A
tetradic
#8A529B #9B6652 #639B52 #52889B
square
#8A529B #9B6652 #639B52 #52889B
split-complementary
#8A529B #889B52 #529B66
monochromatic
#43284B #663D73 #8A529B #A774B6 #C09DCB

Accessibility & contrast

On white

5.58
#8A529B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8A529B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A529B
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A529B#FFFFFF#000000##FFFFFF
##8A529B1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45649E
Deuteranopia (green-blind)
#556A99
Tritanopia (blue-blind)
#8A5C6F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a529b;
/* rgb */ color: rgb(138, 82, 155);
/* oklch */ color: oklch(53.2% 0.126 318.0);
Tailwind
colors: {
  custom: {
    50: '#ae84b9',
    500: '#8a529b',
    950: '#000000',
  },
}
SCSS
$custom: #8a529b;
$custom-light: #ae84b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a529b",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 155
  },
  "hsl": {
    "h": 286.027,
    "s": 30.802,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53165,
    "c": 0.12604,
    "h": 318
  },
  "luminance": 0.13804
}

Semantic roles & 50–950 ramp

primary
#8A529B
secondary
#9AB891
accent
#C76179
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A529B

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

Preview Lab → · Contrast checker → · Palette generator →

#8A529B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva