#8A528F#8A528F

#8A528F is a mid, moderate purple. Relative luminance 0.134; OKLCH L 52.6% C 0.113 H 324.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A528F
RGBrgb(138, 82, 143)
HSLhsl(295, 27%, 44%)
HSVhsv(295, 43%, 56%)
CMYKcmyk(3.5%, 42.7%, 0%, 43.9%)
CIE-LABlab(43.39, 33.54, -24.17)
CIE-LCHlch(43.39, 41.34, 324.21°)
OKLaboklab(52.56% 0.0913 -0.0662)
OKLCHoklch(52.56% 0.113 324.1)
XYZxyz(18.4560, 13.4218, 27.5998)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A528F #578F52
analogous
#6C528F #8A528F #8F5276
triadic
#8A528F #8F8A52 #528F8A
tetradic
#8A528F #8F6C52 #578F52 #52768F
square
#8A528F #8F6C52 #578F52 #52768F
split-complementary
#8A528F #768F52 #528F6C
monochromatic
#3F2541 #643C68 #8A528F #A871AD #C098C4

Accessibility & contrast

On white

5.70
#8A528F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8A528F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A528F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A528F#FFFFFF#000000##FFFFFF
##8A528F1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6291
Deuteranopia (green-blind)
#5A698D
Tritanopia (blue-blind)
#8C596A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a528f;
/* rgb */ color: rgb(138, 82, 143);
/* oklch */ color: oklch(52.6% 0.113 324.1);
Tailwind
colors: {
  custom: {
    50: '#ad84b0',
    500: '#8a528f',
    950: '#000000',
  },
}
SCSS
$custom: #8a528f;
$custom-light: #ad84b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a528f",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 295.082,
    "s": 27.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52564,
    "c": 0.11282,
    "h": 324.1
  },
  "luminance": 0.13421
}

Semantic roles & 50–950 ramp

primary
#8A528F
secondary
#8FB18C
accent
#C3646C
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A528F

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

Preview Lab → · Contrast checker → · Palette generator →

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