#8A489C#8A489C

#8A489C is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.7% C 0.144 H 318.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8A489C
RGBrgb(138, 72, 156)
HSLhsl(287, 37%, 45%)
HSVhsv(287, 54%, 61%)
CMYKcmyk(11.5%, 53.8%, 0%, 38.8%)
CIE-LABlab(41.91, 41.72, -34.31)
CIE-LCHlch(41.91, 54.02, 320.57°)
OKLaboklab(51.67% 0.1084 -0.0953)
OKLCHoklch(51.67% 0.144 318.7)
XYZxyz(18.7985, 12.4390, 32.8568)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A489C #5A9C48
analogous
#60489C #8A489C #9C4884
triadic
#8A489C #9C8A48 #489C8A
tetradic
#8A489C #9C6048 #5A9C48 #48849C
square
#8A489C #9C6048 #5A9C48 #48849C
split-complementary
#8A489C #849C48 #489C60
monochromatic
#402148 #653572 #8A489C #A868B9 #C092CD

Accessibility & contrast

On white

6.02
#8A489C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A489C
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A489C#FFFFFF#000000##FFFFFF
##8A489C1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9F
Deuteranopia (green-blind)
#4D659A
Tritanopia (blue-blind)
#8A546B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a489c;
/* rgb */ color: rgb(138, 72, 156);
/* oklch */ color: oklch(51.7% 0.144 318.7);
Tailwind
colors: {
  custom: {
    50: '#ae7eb9',
    500: '#8a489c',
    950: '#000000',
  },
}
SCSS
$custom: #8a489c;
$custom-light: #ae7eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a489c",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 287.143,
    "s": 36.842,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51666,
    "c": 0.14434,
    "h": 318.7
  },
  "luminance": 0.12438
}

Semantic roles & 50–950 ramp

primary
#8A489C
secondary
#92B887
accent
#CD5B73
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8A489C

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

Preview Lab → · Contrast checker → · Palette generator →

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