#8A488A#8A488A

#8A488A is a mid, vivid purple. Relative luminance 0.119; OKLCH L 50.7% C 0.126 H 327.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8A488A
RGBrgb(138, 72, 138)
HSLhsl(300, 31%, 41%)
HSVhsv(300, 48%, 54%)
CMYKcmyk(0%, 47.8%, 0%, 45.9%)
CIE-LABlab(41.02, 38.07, -24.84)
CIE-LCHlch(41.02, 45.46, 326.88°)
OKLaboklab(50.72% 0.1057 -0.068)
OKLCHoklch(50.72% 0.126 327.2)
XYZxyz(17.3857, 11.8739, 25.4160)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A488A #488A48
analogous
#69488A #8A488A #8A4869
triadic
#8A488A #8A8A48 #488A8A
tetradic
#8A488A #8A6948 #488A48 #48698A
square
#8A488A #8A6948 #488A48 #48698A
split-complementary
#8A488A #698A48 #488A69
monochromatic
#3A1E3A #623362 #8A488A #AD62AD #C28AC2

Accessibility & contrast

On white

6.22
#8A488A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8A488A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A488A
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A488A#FFFFFF#000000##FFFFFF
##8A488A1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8C
Deuteranopia (green-blind)
#556488
Tritanopia (blue-blind)
#8E4F62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a488a;
/* rgb */ color: rgb(138, 72, 138);
/* oklch */ color: oklch(50.7% 0.126 327.2);
Tailwind
colors: {
  custom: {
    50: '#ae7dac',
    500: '#8a488a',
    950: '#000000',
  },
}
SCSS
$custom: #8a488a;
$custom-light: #ae7dac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a488a",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50716,
    "c": 0.12573,
    "h": 327.2
  },
  "luminance": 0.11873
}

Semantic roles & 50–950 ramp

primary
#8A488A
secondary
#80AE80
accent
#C86060
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A488A

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

Preview Lab → · Contrast checker → · Palette generator →

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