#8A4B8A#8A4B8A

#8A4B8A is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.2% C 0.120 H 327.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8A4B8A
RGBrgb(138, 75, 138)
HSLhsl(300, 30%, 42%)
HSVhsv(300, 46%, 54%)
CMYKcmyk(0%, 45.7%, 0%, 45.9%)
CIE-LABlab(41.64, 36.44, -23.86)
CIE-LCHlch(41.64, 43.56, 326.78°)
OKLaboklab(51.18% 0.1011 -0.0653)
OKLCHoklch(51.18% 0.12 327.2)
XYZxyz(17.5844, 12.2713, 25.4822)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4B8A #4B8A4B
analogous
#6B4B8A #8A4B8A #8A4B6B
triadic
#8A4B8A #8A8A4B #4B8A8A
tetradic
#8A4B8A #8A6B4B #4B8A4B #4B6B8A
square
#8A4B8A #8A6B4B #4B8A4B #4B6B8A
split-complementary
#8A4B8A #6B8A4B #4B8A6B
monochromatic
#3B203B #623562 #8A4B8A #AC66AC #C28EC2

Accessibility & contrast

On white

6.08
#8A4B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8A4B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4B8A
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4B8A#FFFFFF#000000##FFFFFF
##8A4B8A1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465D8C
Deuteranopia (green-blind)
#576588
Tritanopia (blue-blind)
#8D5164
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a4b8a;
/* rgb */ color: rgb(138, 75, 138);
/* oklch */ color: oklch(51.2% 0.120 327.2);
Tailwind
colors: {
  custom: {
    50: '#ae7fac',
    500: '#8a4b8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a4b8a;
$custom-light: #ae7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4b8a",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 29.577,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51184,
    "c": 0.12037,
    "h": 327.2
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#8A4B8A
secondary
#83AE83
accent
#C66262
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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