#8A4B9B#8A4B9B

#8A4B9B is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.1% C 0.138 H 318.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8A4B9B
RGBrgb(138, 75, 155)
HSLhsl(287, 35%, 45%)
HSVhsv(287, 52%, 61%)
CMYKcmyk(11%, 51.6%, 0%, 39.2%)
CIE-LABlab(42.46, 39.90, -32.83)
CIE-LCHlch(42.46, 51.67, 320.55°)
OKLaboklab(52.06% 0.104 -0.0911)
OKLCHoklch(52.06% 0.138 318.8)
XYZxyz(18.9129, 12.8027, 32.4789)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4B9B #5C9B4B
analogous
#624B9B #8A4B9B #9B4B84
triadic
#8A4B9B #9B8A4B #4B9B8A
tetradic
#8A4B9B #9B624B #5C9B4B #4B849B
square
#8A4B9B #9B624B #5C9B4B #4B849B
split-complementary
#8A4B9B #849B4B #4B9B62
monochromatic
#412349 #653772 #8A4B9B #A76CB8 #C095CC

Accessibility & contrast

On white

5.90
#8A4B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8A4B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4B9B
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4B9B#FFFFFF#000000##FFFFFF
##8A4B9B1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C609E
Deuteranopia (green-blind)
#4F6699
Tritanopia (blue-blind)
#8A566C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a4b9b;
/* rgb */ color: rgb(138, 75, 155);
/* oklch */ color: oklch(52.1% 0.138 318.8);
Tailwind
colors: {
  custom: {
    50: '#ae80b9',
    500: '#8a4b9b',
    950: '#000000',
  },
}
SCSS
$custom: #8a4b9b;
$custom-light: #ae80b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4b9b",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 155
  },
  "hsl": {
    "h": 287.25,
    "s": 34.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52061,
    "c": 0.1382,
    "h": 318.8
  },
  "luminance": 0.12802
}

Semantic roles & 50–950 ramp

primary
#8A4B9B
secondary
#94B88A
accent
#CB5D74
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A4B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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