#8A549D#8A549D

#8A549D is a mid, vivid purple. Relative luminance 0.142; OKLCH L 53.6% C 0.125 H 316.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8A549D
RGBrgb(138, 84, 157)
HSLhsl(284, 30%, 47%)
HSVhsv(284, 46%, 62%)
CMYKcmyk(12.1%, 46.5%, 0%, 38.4%)
CIE-LABlab(44.49, 35.36, -30.85)
CIE-LCHlch(44.49, 46.92, 318.90°)
OKLaboklab(53.6% 0.091 -0.0854)
OKLCHoklch(53.6% 0.125 316.8)
XYZxyz(19.7365, 14.1788, 33.5889)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A549D #679D54
analogous
#66549D #8A549D #9D548B
triadic
#8A549D #9D8A54 #549D8A
tetradic
#8A549D #9D6654 #679D54 #548B9D
square
#8A549D #9D6654 #679D54 #548B9D
split-complementary
#8A549D #8B9D54 #549D66
monochromatic
#44294D #673F75 #8A549D #A678B7 #C09FCC

Accessibility & contrast

On white

5.48
#8A549D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8A549D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A549D
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A549D#FFFFFF#000000##FFFFFF
##8A549D1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4766A0
Deuteranopia (green-blind)
#566B9B
Tritanopia (blue-blind)
#895E71
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a549d;
/* rgb */ color: rgb(138, 84, 157);
/* oklch */ color: oklch(53.6% 0.125 316.8);
Tailwind
colors: {
  custom: {
    50: '#ae86ba',
    500: '#8a549d',
    950: '#000000',
  },
}
SCSS
$custom: #8a549d;
$custom-light: #ae86ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a549d",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 284.384,
    "s": 30.29,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53597,
    "c": 0.12477,
    "h": 316.8
  },
  "luminance": 0.14178
}

Semantic roles & 50–950 ramp

primary
#8A549D
secondary
#9DB994
accent
#C7617C
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A549D

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

Preview Lab → · Contrast checker → · Palette generator →

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