#8A4C8E#8A4C8E

#8A4C8E is a mid, vivid purple. Relative luminance 0.125; OKLCH L 51.5% C 0.123 H 324.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8A4C8E
RGBrgb(138, 76, 142)
HSLhsl(296, 30%, 43%)
HSVhsv(296, 46%, 56%)
CMYKcmyk(2.8%, 46.5%, 0%, 44.3%)
CIE-LABlab(42.04, 36.68, -25.67)
CIE-LCHlch(42.04, 44.77, 325.01°)
OKLaboklab(51.54% 0.1004 -0.0705)
OKLCHoklch(51.54% 0.123 324.9)
XYZxyz(17.9477, 12.5260, 27.0583)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4C8E #508E4C
analogous
#694C8E #8A4C8E #8E4C71
triadic
#8A4C8E #8E8A4C #4C8E8A
tetradic
#8A4C8E #8E694C #508E4C #4C718E
square
#8A4C8E #8E694C #508E4C #4C718E
split-complementary
#8A4C8E #718E4C #4C8E69
monochromatic
#3D213E #633766 #8A4C8E #AA69AF #C191C4

Accessibility & contrast

On white

5.99
#8A4C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A4C8E
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4C8E#FFFFFF#000000##FFFFFF
##8A4C8E1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E90
Deuteranopia (green-blind)
#56668C
Tritanopia (blue-blind)
#8D5366
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a4c8e;
/* rgb */ color: rgb(138, 76, 142);
/* oklch */ color: oklch(51.5% 0.123 324.9);
Tailwind
colors: {
  custom: {
    50: '#ae80af',
    500: '#8a4c8e',
    950: '#000000',
  },
}
SCSS
$custom: #8a4c8e;
$custom-light: #ae80af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4c8e",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 296.364,
    "s": 30.275,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51539,
    "c": 0.12265,
    "h": 324.9
  },
  "luminance": 0.12525
}

Semantic roles & 50–950 ramp

primary
#8A4C8E
secondary
#88B086
accent
#C76167
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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