#8A549E#8A549E

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

Color values

HEX#8A549E
RGBrgb(138, 84, 158)
HSLhsl(284, 31%, 47%)
HSVhsv(284, 47%, 62%)
CMYKcmyk(12.7%, 46.8%, 0%, 38%)
CIE-LABlab(44.54, 35.58, -31.37)
CIE-LCHlch(44.54, 47.43, 318.60°)
OKLaboklab(53.65% 0.0911 -0.0869)
OKLCHoklch(53.65% 0.126 316.4)
XYZxyz(19.8222, 14.2131, 34.0403)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A549E #689E54
analogous
#65549E #8A549E #9E548D
triadic
#8A549E #9E8A54 #549E8A
tetradic
#8A549E #9E6554 #689E54 #548D9E
square
#8A549E #9E6554 #689E54 #548D9E
split-complementary
#8A549E #8D9E54 #549E65
monochromatic
#442A4E #673F76 #8A549E #A678B7 #C0A0CC

Accessibility & contrast

On white

5.47
#8A549E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A549E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A549E#FFFFFF#000000##FFFFFF
##8A549E1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4666A1
Deuteranopia (green-blind)
#556B9C
Tritanopia (blue-blind)
#895E71
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a549e;
/* rgb */ color: rgb(138, 84, 158);
/* oklch */ color: oklch(53.6% 0.126 316.4);
Tailwind
colors: {
  custom: {
    50: '#ae86bb',
    500: '#8a549e',
    950: '#000000',
  },
}
SCSS
$custom: #8a549e;
$custom-light: #ae86bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a549e",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 158
  },
  "hsl": {
    "h": 283.784,
    "s": 30.579,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53649,
    "c": 0.12592,
    "h": 316.4
  },
  "luminance": 0.14213
}

Semantic roles & 50–950 ramp

primary
#8A549E
secondary
#9EBA94
accent
#C7617D
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B12
muted
#7F7C81

Preview Lab

Preview with #8A549E

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

Preview Lab → · Contrast checker → · Palette generator →

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