#8A4B99#8A4B99

#8A4B99 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.0% C 0.136 H 319.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8A4B99
RGBrgb(138, 75, 153)
HSLhsl(288, 34%, 45%)
HSVhsv(288, 51%, 60%)
CMYKcmyk(9.8%, 51%, 0%, 40%)
CIE-LABlab(42.36, 39.48, -31.79)
CIE-LCHlch(42.36, 50.69, 321.16°)
OKLaboklab(51.95% 0.1037 -0.0881)
OKLCHoklch(51.95% 0.136 319.7)
XYZxyz(18.7464, 12.7361, 31.6016)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4B99 #5A994B
analogous
#634B99 #8A4B99 #994B81
triadic
#8A4B99 #998A4B #4B998A
tetradic
#8A4B99 #99634B #5A994B #4B8199
square
#8A4B99 #99634B #5A994B #4B8199
split-complementary
#8A4B99 #81994B #4B9963
monochromatic
#402347 #653770 #8A4B99 #A86BB6 #C094CB

Accessibility & contrast

On white

5.92
#8A4B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8A4B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4B99
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4B99#FFFFFF#000000##FFFFFF
##8A4B991.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E609C
Deuteranopia (green-blind)
#516697
Tritanopia (blue-blind)
#8B566B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a4b99;
/* rgb */ color: rgb(138, 75, 153);
/* oklch */ color: oklch(52.0% 0.136 319.7);
Tailwind
colors: {
  custom: {
    50: '#ae80b7',
    500: '#8a4b99',
    950: '#000000',
  },
}
SCSS
$custom: #8a4b99;
$custom-light: #ae80b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4b99",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 153
  },
  "hsl": {
    "h": 288.462,
    "s": 34.211,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51953,
    "c": 0.13605,
    "h": 319.7
  },
  "luminance": 0.12735
}

Semantic roles & 50–950 ramp

primary
#8A4B99
secondary
#92B789
accent
#CA5E72
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A4B99

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

Preview Lab → · Contrast checker → · Palette generator →

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