#8A488F#8A488F

#8A488F is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.0% C 0.131 H 324.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8A488F
RGBrgb(138, 72, 143)
HSLhsl(296, 33%, 42%)
HSVhsv(296, 50%, 56%)
CMYKcmyk(3.5%, 49.7%, 0%, 43.9%)
CIE-LABlab(41.25, 39.06, -27.51)
CIE-LCHlch(41.25, 47.77, 324.84°)
OKLaboklab(50.97% 0.1066 -0.0757)
OKLCHoklch(50.97% 0.131 324.6)
XYZxyz(17.7561, 12.0220, 27.3665)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A488F #4D8F48
analogous
#67488F #8A488F #8F4870
triadic
#8A488F #8F8A48 #488F8A
tetradic
#8A488F #8F6748 #4D8F48 #48708F
square
#8A488F #8F6748 #4D8F48 #48708F
split-complementary
#8A488F #708F48 #488F67
monochromatic
#3B1F3E #633466 #8A488F #AB63B1 #C18CC5

Accessibility & contrast

On white

6.17
#8A488F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A488F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A488F#FFFFFF#000000##FFFFFF
##8A488F1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C91
Deuteranopia (green-blind)
#53648D
Tritanopia (blue-blind)
#8D5065
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a488f;
/* rgb */ color: rgb(138, 72, 143);
/* oklch */ color: oklch(51.0% 0.131 324.6);
Tailwind
colors: {
  custom: {
    50: '#ae7db0',
    500: '#8a488f',
    950: '#000000',
  },
}
SCSS
$custom: #8a488f;
$custom-light: #ae7db0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a488f",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 295.775,
    "s": 33.023,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50969,
    "c": 0.13075,
    "h": 324.6
  },
  "luminance": 0.12021
}

Semantic roles & 50–950 ramp

primary
#8A488F
secondary
#85B182
accent
#C95F66
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A488F

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

Preview Lab → · Contrast checker → · Palette generator →

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