#8A4A85#8A4A85

#8A4A85 is a mid, moderate purple. Relative luminance 0.120; OKLCH L 50.8% C 0.117 H 330.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8A4A85
RGBrgb(138, 74, 133)
HSLhsl(305, 30%, 42%)
HSVhsv(305, 46%, 54%)
CMYKcmyk(0%, 46.4%, 3.6%, 45.9%)
CIE-LABlab(41.21, 36.02, -21.50)
CIE-LCHlch(41.21, 41.95, 329.17°)
OKLaboklab(50.79% 0.1016 -0.0585)
OKLCHoklch(50.79% 0.117 330.1)
XYZxyz(17.1635, 11.9952, 23.5970)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4A85 #4A8A4F
analogous
#6F4A8A #8A4A85 #8A4A65
triadic
#8A4A85 #858A4A #4A858A
tetradic
#8A4A85 #8A6F4A #4A8A4F #4A658A
square
#8A4A85 #8A6F4A #4A8A4F #4A658A
split-complementary
#8A4A85 #658A4A #4A8A6F
monochromatic
#3A1F38 #62355F #8A4A85 #AC65A7 #C28DBE

Accessibility & contrast

On white

6.18
#8A4A85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8A4A85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4A85
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4A85#FFFFFF#000000##FFFFFF
##8A4A851.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C87
Deuteranopia (green-blind)
#596483
Tritanopia (blue-blind)
#8E4F61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a4a85;
/* rgb */ color: rgb(138, 74, 133);
/* oklch */ color: oklch(50.8% 0.117 330.1);
Tailwind
colors: {
  custom: {
    50: '#ae7fa8',
    500: '#8a4a85',
    950: '#000000',
  },
}
SCSS
$custom: #8a4a85;
$custom-light: #ae7fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4a85",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 133
  },
  "hsl": {
    "h": 304.688,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50786,
    "c": 0.11727,
    "h": 330.1
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

primary
#8A4A85
secondary
#82AE86
accent
#C66961
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4A85

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

Preview Lab → · Contrast checker → · Palette generator →

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