#8A529A#8A529A

#8A529A is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.1% C 0.125 H 318.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8A529A
RGBrgb(138, 82, 154)
HSLhsl(287, 31%, 46%)
HSVhsv(287, 47%, 60%)
CMYKcmyk(10.4%, 46.8%, 0%, 39.6%)
CIE-LABlab(43.90, 35.83, -29.97)
CIE-LCHlch(43.90, 46.72, 320.09°)
OKLaboklab(53.11% 0.0935 -0.0829)
OKLCHoklch(53.11% 0.125 318.4)
XYZxyz(19.3305, 13.7716, 32.2055)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A529A #629A52
analogous
#66529A #8A529A #9A5286
triadic
#8A529A #9A8A52 #529A8A
tetradic
#8A529A #9A6652 #629A52 #52869A
square
#8A529A #9A6652 #629A52 #52869A
split-complementary
#8A529A #869A52 #529A66
monochromatic
#42274A #663D72 #8A529A #A774B5 #C09CCA

Accessibility & contrast

On white

5.59
#8A529A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8A529A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A529A
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A529A#FFFFFF#000000##FFFFFF
##8A529A1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46649D
Deuteranopia (green-blind)
#566A98
Tritanopia (blue-blind)
#8A5C6F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a529a;
/* rgb */ color: rgb(138, 82, 154);
/* oklch */ color: oklch(53.1% 0.125 318.4);
Tailwind
colors: {
  custom: {
    50: '#ae84b8',
    500: '#8a529a',
    950: '#000000',
  },
}
SCSS
$custom: #8a529a;
$custom-light: #ae84b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a529a",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 154
  },
  "hsl": {
    "h": 286.667,
    "s": 30.508,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53113,
    "c": 0.12491,
    "h": 318.4
  },
  "luminance": 0.13771
}

Semantic roles & 50–950 ramp

primary
#8A529A
secondary
#99B790
accent
#C76178
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A529A

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

Preview Lab → · Contrast checker → · Palette generator →

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