#8A528A#8A528A

#8A528A is a mid, moderate purple. Relative luminance 0.133; OKLCH L 52.3% C 0.108 H 327.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8A528A
RGBrgb(138, 82, 138)
HSLhsl(300, 25%, 43%)
HSVhsv(300, 41%, 54%)
CMYKcmyk(0%, 40.6%, 0%, 45.9%)
CIE-LABlab(43.17, 32.53, -21.50)
CIE-LCHlch(43.17, 38.99, 326.54°)
OKLaboklab(52.33% 0.0902 -0.0586)
OKLCHoklch(52.33% 0.108 327)
XYZxyz(18.0856, 13.2737, 25.6492)
Luminance0.1327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A528A #528A52
analogous
#6E528A #8A528A #8A526E
triadic
#8A528A #8A8A52 #528A8A
tetradic
#8A528A #8A6E52 #528A52 #526E8A
square
#8A528A #8A6E52 #528A52 #526E8A
split-complementary
#8A528A #6E8A52 #528A6E
monochromatic
#3D243D #643B64 #8A528A #AA6FAA #C196C1

Accessibility & contrast

On white

5.75
#8A528A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8A528A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A528A
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A528A#FFFFFF#000000##FFFFFF
##8A528A1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E618C
Deuteranopia (green-blind)
#5C6988
Tritanopia (blue-blind)
#8D5767
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a528a;
/* rgb */ color: rgb(138, 82, 138);
/* oklch */ color: oklch(52.3% 0.108 327.0);
Tailwind
colors: {
  custom: {
    50: '#ad84ac',
    500: '#8a528a',
    950: '#000000',
  },
}
SCSS
$custom: #8a528a;
$custom-light: #ad84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a528a",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 25.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52327,
    "c": 0.10756,
    "h": 327
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#8A528A
secondary
#8AAE8A
accent
#C26666
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A528A

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

Preview Lab → · Contrast checker → · Palette generator →

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