#8A489E#8A489E

#8A489E is a mid, vivid purple. Relative luminance 0.125; OKLCH L 51.8% C 0.146 H 317.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A489E
RGBrgb(138, 72, 158)
HSLhsl(286, 37%, 45%)
HSVhsv(286, 54%, 62%)
CMYKcmyk(12.7%, 54.4%, 0%, 38%)
CIE-LABlab(42.01, 42.15, -35.34)
CIE-LCHlch(42.01, 55.00, 320.02°)
OKLaboklab(51.78% 0.1086 -0.0983)
OKLCHoklch(51.78% 0.146 317.8)
XYZxyz(18.9693, 12.5073, 33.7560)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A489E #5C9E48
analogous
#5F489E #8A489E #9E4887
triadic
#8A489E #9E8A48 #489E8A
tetradic
#8A489E #9E5F48 #5C9E48 #48879E
square
#8A489E #9E5F48 #5C9E48 #48879E
split-complementary
#8A489E #879E48 #489E5F
monochromatic
#41224A #653574 #8A489E #A769BB #C093CE

Accessibility & contrast

On white

6.00
#8A489E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8A489E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A489E
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A489E#FFFFFF#000000##FFFFFF
##8A489E1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA1
Deuteranopia (green-blind)
#4B659C
Tritanopia (blue-blind)
#8A556C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a489e;
/* rgb */ color: rgb(138, 72, 158);
/* oklch */ color: oklch(51.8% 0.146 317.8);
Tailwind
colors: {
  custom: {
    50: '#ae7ebb',
    500: '#8a489e',
    950: '#000000',
  },
}
SCSS
$custom: #8a489e;
$custom-light: #ae7ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a489e",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 286.047,
    "s": 37.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51778,
    "c": 0.14648,
    "h": 317.8
  },
  "luminance": 0.12507
}

Semantic roles & 50–950 ramp

primary
#8A489E
secondary
#94BA88
accent
#CD5A75
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A489E

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

Preview Lab → · Contrast checker → · Palette generator →

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