#8A3C9B#8A3C9B

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

Color values

HEX#8A3C9B
RGBrgb(138, 60, 155)
HSLhsl(289, 44%, 42%)
HSVhsv(289, 61%, 61%)
CMYKcmyk(11%, 61.3%, 0%, 39.2%)
CIE-LABlab(39.58, 47.61, -37.38)
CIE-LCHlch(39.58, 60.53, 321.86°)
OKLaboklab(49.95% 0.1246 -0.1042)
OKLCHoklch(49.95% 0.162 320.1)
XYZxyz(18.0128, 11.0024, 32.1788)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3C9B #4D9B3C
analogous
#5B3C9B #8A3C9B #9B3C7D
triadic
#8A3C9B #9B8A3C #3C9B8A
tetradic
#8A3C9B #9B5B3C #4D9B3C #3C7D9B
square
#8A3C9B #9B5B3C #4D9B3C #3C7D9B
split-complementary
#8A3C9B #7D9B3C #3C9B5B
monochromatic
#3B1A43 #632B6F #8A3C9B #AB56BE #C183CF

Accessibility & contrast

On white

6.56
#8A3C9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8A3C9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3C9B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3C9B#FFFFFF#000000##FFFFFF
##8A3C9B1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589E
Deuteranopia (green-blind)
#446099
Tritanopia (blue-blind)
#8B4B66
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a3c9b;
/* rgb */ color: rgb(138, 60, 155);
/* oklch */ color: oklch(49.9% 0.162 320.1);
Tailwind
colors: {
  custom: {
    50: '#af77b9',
    500: '#8a3c9b',
    950: '#000000',
  },
}
SCSS
$custom: #8a3c9b;
$custom-light: #af77b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3c9b",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 155
  },
  "hsl": {
    "h": 289.263,
    "s": 44.186,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49949,
    "c": 0.16242,
    "h": 320.1
  },
  "luminance": 0.11002
}

Semantic roles & 50–950 ramp

primary
#8A3C9B
secondary
#85B97A
accent
#D4546B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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