#8A528E#8A528E

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

Color values

HEX#8A528E
RGBrgb(138, 82, 142)
HSLhsl(296, 27%, 44%)
HSVhsv(296, 42%, 56%)
CMYKcmyk(2.8%, 42.3%, 0%, 44.3%)
CIE-LABlab(43.35, 33.33, -23.64)
CIE-LCHlch(43.35, 40.87, 324.65°)
OKLaboklab(52.52% 0.0911 -0.0647)
OKLCHoklch(52.52% 0.112 324.6)
XYZxyz(18.3806, 13.3916, 27.2026)
Luminance0.1339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A528E #568E52
analogous
#6C528E #8A528E #8E5274
triadic
#8A528E #8E8A52 #528E8A
tetradic
#8A528E #8E6C52 #568E52 #52748E
square
#8A528E #8E6C52 #568E52 #52748E
split-complementary
#8A528E #748E52 #528E6C
monochromatic
#3F2540 #643C67 #8A528E #A970AD #C097C3

Accessibility & contrast

On white

5.71
#8A528E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A528E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A528E#FFFFFF#000000##FFFFFF
##8A528E1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6290
Deuteranopia (green-blind)
#5B698C
Tritanopia (blue-blind)
#8C5869
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a528e;
/* rgb */ color: rgb(138, 82, 142);
/* oklch */ color: oklch(52.5% 0.112 324.6);
Tailwind
colors: {
  custom: {
    50: '#ad84af',
    500: '#8a528e',
    950: '#000000',
  },
}
SCSS
$custom: #8a528e;
$custom-light: #ad84af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a528e",
  "rgb": {
    "r": 138,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 296,
    "s": 26.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52516,
    "c": 0.11174,
    "h": 324.6
  },
  "luminance": 0.13391
}

Semantic roles & 50–950 ramp

primary
#8A528E
secondary
#8EB08C
accent
#C3656B
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A528E

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

Preview Lab → · Contrast checker → · Palette generator →

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