#8A549A#8A549A

#8A549A is a mid, vivid purple. Relative luminance 0.141; OKLCH L 53.4% C 0.121 H 318.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8A549A
RGBrgb(138, 84, 154)
HSLhsl(286, 29%, 47%)
HSVhsv(286, 45%, 60%)
CMYKcmyk(10.4%, 45.5%, 0%, 39.6%)
CIE-LABlab(44.34, 34.71, -29.28)
CIE-LCHlch(44.34, 45.41, 319.85°)
OKLaboklab(53.44% 0.0905 -0.0809)
OKLCHoklch(53.44% 0.121 318.2)
XYZxyz(19.4835, 14.0776, 32.2565)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A549A #649A54
analogous
#67549A #8A549A #9A5487
triadic
#8A549A #9A8A54 #549A8A
tetradic
#8A549A #9A6754 #649A54 #54879A
square
#8A549A #9A6754 #649A54 #54879A
split-complementary
#8A549A #879A54 #549A67
monochromatic
#43294B #673E72 #8A549A #A677B5 #C09ECA

Accessibility & contrast

On white

5.50
#8A549A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8A549A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A549A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A549A#FFFFFF#000000##FFFFFF
##8A549A1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49659C
Deuteranopia (green-blind)
#576B98
Tritanopia (blue-blind)
#8A5D70
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a549a;
/* rgb */ color: rgb(138, 84, 154);
/* oklch */ color: oklch(53.4% 0.121 318.2);
Tailwind
colors: {
  custom: {
    50: '#ad85b8',
    500: '#8a549a',
    950: '#000000',
  },
}
SCSS
$custom: #8a549a;
$custom-light: #ad85b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a549a",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 154
  },
  "hsl": {
    "h": 286.286,
    "s": 29.412,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53442,
    "c": 0.12134,
    "h": 318.2
  },
  "luminance": 0.14077
}

Semantic roles & 50–950 ramp

primary
#8A549A
secondary
#9BB792
accent
#C66279
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A549A

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

Preview Lab → · Contrast checker → · Palette generator →

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