#8A3C9A#8A3C9A

#8A3C9A is a mid, vivid purple. Relative luminance 0.110; OKLCH L 49.9% C 0.161 H 320.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8A3C9A
RGBrgb(138, 60, 154)
HSLhsl(290, 44%, 42%)
HSVhsv(290, 61%, 60%)
CMYKcmyk(10.4%, 61%, 0%, 39.6%)
CIE-LABlab(39.53, 47.41, -36.87)
CIE-LCHlch(39.53, 60.06, 322.13°)
OKLaboklab(49.89% 0.1246 -0.1027)
OKLCHoklch(49.89% 0.161 320.5)
XYZxyz(17.9291, 10.9689, 31.7384)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3C9A #4C9A3C
analogous
#5B3C9A #8A3C9A #9A3C7B
triadic
#8A3C9A #9A8A3C #3C9A8A
tetradic
#8A3C9A #9A5B3C #4C9A3C #3C7B9A
square
#8A3C9A #9A5B3C #4C9A3C #3C7B9A
split-complementary
#8A3C9A #7B9A3C #3C9A5B
monochromatic
#3B1A42 #632B6E #8A3C9A #AC56BD #C182CE

Accessibility & contrast

On white

6.58
#8A3C9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8A3C9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3C9A
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3C9A#FFFFFF#000000##FFFFFF
##8A3C9A1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589D
Deuteranopia (green-blind)
#446098
Tritanopia (blue-blind)
#8B4B65
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a3c9a;
/* rgb */ color: rgb(138, 60, 154);
/* oklch */ color: oklch(49.9% 0.161 320.5);
Tailwind
colors: {
  custom: {
    50: '#af76b8',
    500: '#8a3c9a',
    950: '#000000',
  },
}
SCSS
$custom: #8a3c9a;
$custom-light: #af76b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3c9a",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 154
  },
  "hsl": {
    "h": 289.787,
    "s": 43.925,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4989,
    "c": 0.16143,
    "h": 320.5
  },
  "luminance": 0.10968
}

Semantic roles & 50–950 ramp

primary
#8A3C9A
secondary
#84B87A
accent
#D4546A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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