#8A528C#8A528C

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

Color values

HEX#8A528C
RGBrgb(138, 82, 140)
HSLhsl(298, 26%, 44%)
HSVhsv(298, 41%, 55%)
CMYKcmyk(1.4%, 41.4%, 0%, 45.1%)
CIE-LABlab(43.26, 32.93, -22.57)
CIE-LCHlch(43.26, 39.92, 325.57°)
OKLaboklab(52.42% 0.0907 -0.0617)
OKLCHoklch(52.42% 0.11 325.8)
XYZxyz(18.2317, 13.3321, 26.4189)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A528C #548C52
analogous
#6D528C #8A528C #8C5271
triadic
#8A528C #8C8A52 #528C8A
tetradic
#8A528C #8C6D52 #548C52 #52718C
square
#8A528C #8C6D52 #548C52 #52718C
split-complementary
#8A528C #718C52 #528C6D
monochromatic
#3E253F #643B65 #8A528C #A970AB #C097C2

Accessibility & contrast

On white

5.73
#8A528C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A528C
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A528C#FFFFFF#000000##FFFFFF
##8A528C1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a528c;
/* rgb */ color: rgb(138, 82, 140);
/* oklch */ color: oklch(52.4% 0.110 325.8);
Tailwind
colors: {
  custom: {
    50: '#ad84ad',
    500: '#8a528c',
    950: '#000000',
  },
}
SCSS
$custom: #8a528c;
$custom-light: #ad84ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a528c",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 297.931,
    "s": 26.126,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.10963,
    "h": 325.8
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#8A528C
secondary
#8CAF8B
accent
#C36569
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A528C

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

Preview Lab → · Contrast checker → · Palette generator →

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