#8A4582#8A4582

#8A4582 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 49.9% C 0.123 H 331.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8A4582
RGBrgb(138, 69, 130)
HSLhsl(307, 33%, 41%)
HSVhsv(307, 50%, 54%)
CMYKcmyk(0%, 50%, 5.8%, 45.9%)
CIE-LABlab(40.04, 38.17, -21.48)
CIE-LCHlch(40.04, 43.80, 330.63°)
OKLaboklab(49.87% 0.1087 -0.0584)
OKLCHoklch(49.87% 0.123 331.7)
XYZxyz(16.6385, 11.2722, 22.4141)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4582 #458A4D
analogous
#6F458A #8A4582 #8A455F
triadic
#8A4582 #828A45 #45828A
tetradic
#8A4582 #8A6F45 #458A4D #455F8A
square
#8A4582 #8A6F45 #458A4D #455F8A
split-complementary
#8A4582 #5F8A45 #458A6F
monochromatic
#381C35 #61315C #8A4582 #AE5EA5 #C387BC

Accessibility & contrast

On white

6.45
#8A4582 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8A4582 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4582
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4582#FFFFFF#000000##FFFFFF
##8A45821.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435884
Deuteranopia (green-blind)
#566280
Tritanopia (blue-blind)
#8F4A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4582;
/* rgb */ color: rgb(138, 69, 130);
/* oklch */ color: oklch(49.9% 0.123 331.7);
Tailwind
colors: {
  custom: {
    50: '#ae7ba6',
    500: '#8a4582',
    950: '#000000',
  },
}
SCSS
$custom: #8a4582;
$custom-light: #ae7ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4582",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 306.957,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4987,
    "c": 0.1234,
    "h": 331.7
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

primary
#8A4582
secondary
#7DAE82
accent
#C96B5E
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #8A4582

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

Preview Lab → · Contrast checker → · Palette generator →

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