#8A489D#8A489D

#8A489D is a mid, vivid purple. Relative luminance 0.125; OKLCH L 51.7% C 0.145 H 318.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8A489D
RGBrgb(138, 72, 157)
HSLhsl(287, 37%, 45%)
HSVhsv(287, 54%, 62%)
CMYKcmyk(12.1%, 54.1%, 0%, 38.4%)
CIE-LABlab(41.96, 41.94, -34.83)
CIE-LCHlch(41.96, 54.51, 320.29°)
OKLaboklab(51.72% 0.1085 -0.0968)
OKLCHoklch(51.72% 0.145 318.3)
XYZxyz(18.8836, 12.4730, 33.3046)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A489D #5B9D48
analogous
#5F489D #8A489D #9D4886
triadic
#8A489D #9D8A48 #489D8A
tetradic
#8A489D #9D5F48 #5B9D48 #48869D
square
#8A489D #9D5F48 #5B9D48 #48869D
split-complementary
#8A489D #869D48 #489D5F
monochromatic
#402249 #653573 #8A489D #A868BA #C092CD

Accessibility & contrast

On white

6.01
#8A489D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8A489D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A489D
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A489D#FFFFFF#000000##FFFFFF
##8A489D1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA0
Deuteranopia (green-blind)
#4C659B
Tritanopia (blue-blind)
#8A556B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a489d;
/* rgb */ color: rgb(138, 72, 157);
/* oklch */ color: oklch(51.7% 0.145 318.3);
Tailwind
colors: {
  custom: {
    50: '#ae7eba',
    500: '#8a489d',
    950: '#000000',
  },
}
SCSS
$custom: #8a489d;
$custom-light: #ae7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a489d",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 286.588,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51722,
    "c": 0.1454,
    "h": 318.3
  },
  "luminance": 0.12472
}

Semantic roles & 50–950 ramp

primary
#8A489D
secondary
#93B988
accent
#CD5B74
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8A489D

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

Preview Lab → · Contrast checker → · Palette generator →

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