#8A549B#8A549B

#8A549B is a mid, vivid purple. Relative luminance 0.141; OKLCH L 53.5% C 0.122 H 317.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A549B
RGBrgb(138, 84, 155)
HSLhsl(286, 30%, 47%)
HSVhsv(286, 46%, 61%)
CMYKcmyk(11%, 45.8%, 0%, 39.2%)
CIE-LABlab(44.39, 34.92, -29.81)
CIE-LCHlch(44.39, 45.91, 319.52°)
OKLaboklab(53.49% 0.0906 -0.0824)
OKLCHoklch(53.49% 0.122 317.7)
XYZxyz(19.5671, 14.1111, 32.6970)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A549B #659B54
analogous
#67549B #8A549B #9B5489
triadic
#8A549B #9B8A54 #549B8A
tetradic
#8A549B #9B6754 #659B54 #54899B
square
#8A549B #9B6754 #659B54 #54899B
split-complementary
#8A549B #899B54 #549B67
monochromatic
#43294C #673E73 #8A549B #A677B5 #C09FCB

Accessibility & contrast

On white

5.49
#8A549B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A549B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A549B#FFFFFF#000000##FFFFFF
##8A549B1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48659E
Deuteranopia (green-blind)
#576B99
Tritanopia (blue-blind)
#8A5E70
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a549b;
/* rgb */ color: rgb(138, 84, 155);
/* oklch */ color: oklch(53.5% 0.122 317.7);
Tailwind
colors: {
  custom: {
    50: '#ad85b9',
    500: '#8a549b',
    950: '#000000',
  },
}
SCSS
$custom: #8a549b;
$custom-light: #ad85b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a549b",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 155
  },
  "hsl": {
    "h": 285.634,
    "s": 29.707,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53493,
    "c": 0.12248,
    "h": 317.7
  },
  "luminance": 0.1411
}

Semantic roles & 50–950 ramp

primary
#8A549B
secondary
#9CB893
accent
#C6627A
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A549B

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

Preview Lab → · Contrast checker → · Palette generator →

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