#8A5682#8A5682

#8A5682 is a mid, moderate purple. Relative luminance 0.137; OKLCH L 52.7% C 0.092 H 332.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A5682
RGBrgb(138, 86, 130)
HSLhsl(309, 23%, 44%)
HSVhsv(309, 38%, 54%)
CMYKcmyk(0%, 37.7%, 5.8%, 45.9%)
CIE-LABlab(43.76, 28.69, -15.76)
CIE-LCHlch(43.76, 32.73, 331.22°)
OKLaboklab(52.66% 0.0816 -0.0425)
OKLCHoklch(52.66% 0.092 332.5)
XYZxyz(17.8381, 13.6714, 22.8140)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5682 #568A5E
analogous
#78568A #8A5682 #8A5668
triadic
#8A5682 #828A56 #56828A
tetradic
#8A5682 #8A7856 #568A5E #56688A
square
#8A5682 #8A7856 #568A5E #56688A
split-complementary
#8A5682 #688A56 #568A78
monochromatic
#3F273B #643F5E #8A5682 #A975A1 #C09ABA

Accessibility & contrast

On white

5.62
#8A5682 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8A5682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5682
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5682#FFFFFF#000000##FFFFFF
##8A56821.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556384
Deuteranopia (green-blind)
#626A80
Tritanopia (blue-blind)
#8E5966
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a5682;
/* rgb */ color: rgb(138, 86, 130);
/* oklch */ color: oklch(52.7% 0.092 332.5);
Tailwind
colors: {
  custom: {
    50: '#ad87a6',
    500: '#8a5682',
    950: '#000000',
  },
}
SCSS
$custom: #8a5682;
$custom-light: #ad87a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5682",
  "rgb": {
    "r": 138,
    "g": 86,
    "b": 130
  },
  "hsl": {
    "h": 309.231,
    "s": 23.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5266,
    "c": 0.09199,
    "h": 332.5
  },
  "luminance": 0.13671
}

Semantic roles & 50–950 ramp

primary
#8A5682
secondary
#8EAE93
accent
#C07668
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B0F
muted
#7F7C7F

Preview Lab

Preview with #8A5682

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

Preview Lab → · Contrast checker → · Palette generator →

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