#8A4C8F#8A4C8F

#8A4C8F is a mid, vivid purple. Relative luminance 0.126; OKLCH L 51.6% C 0.124 H 324.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A4C8F
RGBrgb(138, 76, 143)
HSLhsl(296, 31%, 43%)
HSVhsv(296, 47%, 56%)
CMYKcmyk(3.5%, 46.9%, 0%, 43.9%)
CIE-LABlab(42.09, 36.88, -26.20)
CIE-LCHlch(42.09, 45.24, 324.61°)
OKLaboklab(51.59% 0.1006 -0.072)
OKLCHoklch(51.59% 0.124 324.4)
XYZxyz(18.0231, 12.5561, 27.4555)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4C8F #518F4C
analogous
#684C8F #8A4C8F #8F4C73
triadic
#8A4C8F #8F8A4C #4C8F8A
tetradic
#8A4C8F #8F684C #518F4C #4C738F
square
#8A4C8F #8F684C #518F4C #4C738F
split-complementary
#8A4C8F #738F4C #4C8F68
monochromatic
#3D223F #633767 #8A4C8F #AA69AF #C191C4

Accessibility & contrast

On white

5.98
#8A4C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8A4C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4C8F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4C8F#FFFFFF#000000##FFFFFF
##8A4C8F1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E91
Deuteranopia (green-blind)
#56668D
Tritanopia (blue-blind)
#8D5467
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a4c8f;
/* rgb */ color: rgb(138, 76, 143);
/* oklch */ color: oklch(51.6% 0.124 324.4);
Tailwind
colors: {
  custom: {
    50: '#ae80b0',
    500: '#8a4c8f',
    950: '#000000',
  },
}
SCSS
$custom: #8a4c8f;
$custom-light: #ae80b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4c8f",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 295.522,
    "s": 30.594,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51589,
    "c": 0.12368,
    "h": 324.4
  },
  "luminance": 0.12555
}

Semantic roles & 50–950 ramp

primary
#8A4C8F
secondary
#89B186
accent
#C76169
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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