#8A488C#8A488C

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

Color values

HEX#8A488C
RGBrgb(138, 72, 140)
HSLhsl(298, 32%, 42%)
HSVhsv(298, 49%, 55%)
CMYKcmyk(1.4%, 48.6%, 0%, 45.1%)
CIE-LABlab(41.11, 38.46, -25.91)
CIE-LCHlch(41.11, 46.38, 326.03°)
OKLaboklab(50.82% 0.1061 -0.0711)
OKLCHoklch(50.82% 0.128 326.2)
XYZxyz(17.5319, 11.9323, 26.1856)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A488C #4A8C48
analogous
#68488C #8A488C #8C486C
triadic
#8A488C #8C8A48 #488C8A
tetradic
#8A488C #8C6848 #4A8C48 #486C8C
square
#8A488C #8C6848 #4A8C48 #486C8C
split-complementary
#8A488C #6C8C48 #488C68
monochromatic
#3A1E3B #623364 #8A488C #AC63AF #C28BC3

Accessibility & contrast

On white

6.20
#8A488C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8A488C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A488C
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A488C#FFFFFF#000000##FFFFFF
##8A488C1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C8E
Deuteranopia (green-blind)
#54648A
Tritanopia (blue-blind)
#8D4F63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a488c;
/* rgb */ color: rgb(138, 72, 140);
/* oklch */ color: oklch(50.8% 0.128 326.2);
Tailwind
colors: {
  custom: {
    50: '#ae7dae',
    500: '#8a488c',
    950: '#000000',
  },
}
SCSS
$custom: #8a488c;
$custom-light: #ae7dae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a488c",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 298.235,
    "s": 32.075,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50816,
    "c": 0.12772,
    "h": 326.2
  },
  "luminance": 0.11931
}

Semantic roles & 50–950 ramp

primary
#8A488C
secondary
#82AF81
accent
#C86063
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A488C

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

Preview Lab → · Contrast checker → · Palette generator →

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