#8A488B#8A488B

#8A488B is a mid, vivid purple. Relative luminance 0.119; OKLCH L 50.8% C 0.127 H 326.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8A488B
RGBrgb(138, 72, 139)
HSLhsl(299, 32%, 41%)
HSVhsv(299, 48%, 55%)
CMYKcmyk(0.7%, 48.2%, 0%, 45.5%)
CIE-LABlab(41.06, 38.27, -25.38)
CIE-LCHlch(41.06, 45.92, 326.45°)
OKLaboklab(50.77% 0.1059 -0.0696)
OKLCHoklch(50.77% 0.127 326.7)
XYZxyz(17.4585, 11.9030, 25.7990)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A488B #498B48
analogous
#69488B #8A488B #8B486B
triadic
#8A488B #8B8A48 #488B8A
tetradic
#8A488B #8B6948 #498B48 #486B8B
square
#8A488B #8B6948 #498B48 #486B8B
split-complementary
#8A488B #6B8B48 #488B69
monochromatic
#3A1E3A #623363 #8A488B #AD62AE #C28BC3

Accessibility & contrast

On white

6.21
#8A488B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8A488B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A488B
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A488B#FFFFFF#000000##FFFFFF
##8A488B1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8D
Deuteranopia (green-blind)
#556489
Tritanopia (blue-blind)
#8D4F63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a488b;
/* rgb */ color: rgb(138, 72, 139);
/* oklch */ color: oklch(50.8% 0.127 326.7);
Tailwind
colors: {
  custom: {
    50: '#ae7dad',
    500: '#8a488b',
    950: '#000000',
  },
}
SCSS
$custom: #8a488b;
$custom-light: #ae7dad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a488b",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 139
  },
  "hsl": {
    "h": 299.104,
    "s": 31.754,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50766,
    "c": 0.12672,
    "h": 326.7
  },
  "luminance": 0.11902
}

Semantic roles & 50–950 ramp

primary
#8A488B
secondary
#81AE80
accent
#C86061
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A488B

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

Preview Lab → · Contrast checker → · Palette generator →

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