#8A549F#8A549F

#8A549F is a mid, vivid purple. Relative luminance 0.142; OKLCH L 53.7% C 0.127 H 315.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8A549F
RGBrgb(138, 84, 159)
HSLhsl(283, 31%, 48%)
HSVhsv(283, 47%, 62%)
CMYKcmyk(13.2%, 47.2%, 0%, 37.6%)
CIE-LABlab(44.59, 35.79, -31.88)
CIE-LCHlch(44.59, 47.94, 318.31°)
OKLaboklab(53.7% 0.0913 -0.0884)
OKLCHoklch(53.7% 0.127 315.9)
XYZxyz(19.9086, 14.2477, 34.4955)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A549F #699F54
analogous
#65549F #8A549F #9F548E
triadic
#8A549F #9F8A54 #549F8A
tetradic
#8A549F #9F6554 #699F54 #548E9F
square
#8A549F #9F6554 #699F54 #548E9F
split-complementary
#8A549F #8E9F54 #549F65
monochromatic
#442A4F #673F77 #8A549F #A678B8 #C1A0CD

Accessibility & contrast

On white

5.46
#8A549F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8A549F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A549F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A549F#FFFFFF#000000##FFFFFF
##8A549F1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4666A2
Deuteranopia (green-blind)
#556B9D
Tritanopia (blue-blind)
#895F72
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a549f;
/* rgb */ color: rgb(138, 84, 159);
/* oklch */ color: oklch(53.7% 0.127 315.9);
Tailwind
colors: {
  custom: {
    50: '#ae86bb',
    500: '#8a549f',
    950: '#000000',
  },
}
SCSS
$custom: #8a549f;
$custom-light: #ae86bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a549f",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 283.2,
    "s": 30.864,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53702,
    "c": 0.12707,
    "h": 315.9
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A549F

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

Preview Lab → · Contrast checker → · Palette generator →

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