#8A528D#8A528D

#8A528D is a mid, moderate purple. Relative luminance 0.134; OKLCH L 52.5% C 0.111 H 325.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A528D
RGBrgb(138, 82, 141)
HSLhsl(297, 26%, 44%)
HSVhsv(297, 42%, 55%)
CMYKcmyk(2.1%, 41.8%, 0%, 44.7%)
CIE-LABlab(43.30, 33.13, -23.11)
CIE-LCHlch(43.30, 40.39, 325.11°)
OKLaboklab(52.47% 0.0909 -0.0632)
OKLCHoklch(52.47% 0.111 325.2)
XYZxyz(18.3058, 13.3617, 26.8090)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A528D #558D52
analogous
#6C528D #8A528D #8D5272
triadic
#8A528D #8D8A52 #528D8A
tetradic
#8A528D #8D6C52 #558D52 #52728D
square
#8A528D #8D6C52 #558D52 #52728D
split-complementary
#8A528D #728D52 #528D6C
monochromatic
#3E2540 #643B66 #8A528D #A970AC #C097C2

Accessibility & contrast

On white

5.72
#8A528D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8A528D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A528D
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A528D#FFFFFF#000000##FFFFFF
##8A528D1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C628F
Deuteranopia (green-blind)
#5B698B
Tritanopia (blue-blind)
#8D5869
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a528d;
/* rgb */ color: rgb(138, 82, 141);
/* oklch */ color: oklch(52.5% 0.111 325.2);
Tailwind
colors: {
  custom: {
    50: '#ad84ae',
    500: '#8a528d',
    950: '#000000',
  },
}
SCSS
$custom: #8a528d;
$custom-light: #ad84ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a528d",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 296.949,
    "s": 26.457,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52468,
    "c": 0.11069,
    "h": 325.2
  },
  "luminance": 0.13361
}

Semantic roles & 50–950 ramp

primary
#8A528D
secondary
#8DAF8B
accent
#C3656A
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A528D

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

Preview Lab → · Contrast checker → · Palette generator →

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