#8A459A#8A459A

#8A459A is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.1% C 0.147 H 319.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8A459A
RGBrgb(138, 69, 154)
HSLhsl(289, 38%, 44%)
HSVhsv(289, 55%, 60%)
CMYKcmyk(10.4%, 55.2%, 0%, 39.6%)
CIE-LABlab(41.21, 42.88, -34.22)
CIE-LCHlch(41.21, 54.86, 321.42°)
OKLaboklab(51.12% 0.1124 -0.095)
OKLCHoklch(51.12% 0.147 319.8)
XYZxyz(18.4414, 11.9934, 31.9091)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A459A #559A45
analogous
#5F459A #8A459A #9A457F
triadic
#8A459A #9A8A45 #459A8A
tetradic
#8A459A #9A5F45 #559A45 #457F9A
square
#8A459A #9A5F45 #559A45 #457F9A
split-complementary
#8A459A #7F9A45 #459A5F
monochromatic
#3E1F45 #643270 #8A459A #A963B9 #C08DCC

Accessibility & contrast

On white

6.18
#8A459A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A459A
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A459A#FFFFFF#000000##FFFFFF
##8A459A1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9D
Deuteranopia (green-blind)
#4B6498
Tritanopia (blue-blind)
#8B5169
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a459a;
/* rgb */ color: rgb(138, 69, 154);
/* oklch */ color: oklch(51.1% 0.147 319.8);
Tailwind
colors: {
  custom: {
    50: '#ae7cb8',
    500: '#8a459a',
    950: '#000000',
  },
}
SCSS
$custom: #8a459a;
$custom-light: #ae7cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a459a",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 154
  },
  "hsl": {
    "h": 288.706,
    "s": 38.117,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51117,
    "c": 0.14719,
    "h": 319.8
  },
  "luminance": 0.11993
}

Semantic roles & 50–950 ramp

primary
#8A459A
secondary
#8DB783
accent
#CE5A70
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8A459A

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

Preview Lab → · Contrast checker → · Palette generator →

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