#8A528B#8A528B

#8A528B is a mid, moderate purple. Relative luminance 0.133; OKLCH L 52.4% C 0.109 H 326.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8A528B
RGBrgb(138, 82, 139)
HSLhsl(299, 26%, 43%)
HSVhsv(299, 41%, 55%)
CMYKcmyk(0.7%, 41%, 0%, 45.5%)
CIE-LABlab(43.22, 32.73, -22.03)
CIE-LCHlch(43.22, 39.46, 326.05°)
OKLaboklab(52.37% 0.0904 -0.0601)
OKLCHoklch(52.37% 0.109 326.4)
XYZxyz(18.1583, 13.3027, 26.0323)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A528B #538B52
analogous
#6D528B #8A528B #8B526F
triadic
#8A528B #8B8A52 #528B8A
tetradic
#8A528B #8B6D52 #538B52 #526F8B
square
#8A528B #8B6D52 #538B52 #526F8B
split-complementary
#8A528B #6F8B52 #528B6D
monochromatic
#3E253E #643B65 #8A528B #A970AA #C096C1

Accessibility & contrast

On white

5.74
#8A528B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8A528B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A528B
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A528B#FFFFFF#000000##FFFFFF
##8A528B1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D628D
Deuteranopia (green-blind)
#5C6989
Tritanopia (blue-blind)
#8D5868
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a528b;
/* rgb */ color: rgb(138, 82, 139);
/* oklch */ color: oklch(52.4% 0.109 326.4);
Tailwind
colors: {
  custom: {
    50: '#ad84ad',
    500: '#8a528b',
    950: '#000000',
  },
}
SCSS
$custom: #8a528b;
$custom-light: #ad84ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a528b",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 298.947,
    "s": 25.792,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52374,
    "c": 0.10859,
    "h": 326.4
  },
  "luminance": 0.13302
}

Semantic roles & 50–950 ramp

primary
#8A528B
secondary
#8BAE8B
accent
#C26667
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A528B

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

Preview Lab → · Contrast checker → · Palette generator →

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