#8A489B#8A489B

#8A489B is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.6% C 0.143 H 319.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8A489B
RGBrgb(138, 72, 155)
HSLhsl(288, 37%, 45%)
HSVhsv(288, 54%, 61%)
CMYKcmyk(11%, 53.5%, 0%, 39.2%)
CIE-LABlab(41.85, 41.51, -33.79)
CIE-LCHlch(41.85, 53.53, 320.85°)
OKLaboklab(51.61% 0.1083 -0.0938)
OKLCHoklch(51.61% 0.143 319.1)
XYZxyz(18.7142, 12.4053, 32.4127)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A489B #599B48
analogous
#61489B #8A489B #9B4883
triadic
#8A489B #9B8A48 #489B8A
tetradic
#8A489B #9B6148 #599B48 #48839B
square
#8A489B #9B6148 #599B48 #48839B
split-complementary
#8A489B #839B48 #489B61
monochromatic
#402147 #653571 #8A489B #A868B9 #C091CC

Accessibility & contrast

On white

6.03
#8A489B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8A489B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A489B
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A489B#FFFFFF#000000##FFFFFF
##8A489B1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9E
Deuteranopia (green-blind)
#4D6599
Tritanopia (blue-blind)
#8A546B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a489b;
/* rgb */ color: rgb(138, 72, 155);
/* oklch */ color: oklch(51.6% 0.143 319.1);
Tailwind
colors: {
  custom: {
    50: '#ae7eb9',
    500: '#8a489b',
    950: '#000000',
  },
}
SCSS
$custom: #8a489b;
$custom-light: #ae7eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a489b",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 287.711,
    "s": 36.564,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5161,
    "c": 0.14327,
    "h": 319.1
  },
  "luminance": 0.12405
}

Semantic roles & 50–950 ramp

primary
#8A489B
secondary
#91B887
accent
#CD5B72
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8A489B

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

Preview Lab → · Contrast checker → · Palette generator →

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