#8A3B9B#8A3B9B

#8A3B9B is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.8% C 0.164 H 320.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8A3B9B
RGBrgb(138, 59, 155)
HSLhsl(289, 45%, 42%)
HSVhsv(289, 62%, 61%)
CMYKcmyk(11%, 61.9%, 0%, 39.2%)
CIE-LABlab(39.41, 48.09, -37.66)
CIE-LCHlch(39.41, 61.08, 321.93°)
OKLaboklab(49.82% 0.1259 -0.105)
OKLCHoklch(49.82% 0.164 320.2)
XYZxyz(17.9609, 10.8986, 32.1615)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3B9B #4C9B3B
analogous
#5A3B9B #8A3B9B #9B3B7C
triadic
#8A3B9B #9B8A3B #3B9B8A
tetradic
#8A3B9B #9B5A3B #4C9B3B #3B7C9B
square
#8A3B9B #9B5A3B #4C9B3B #3B7C9B
split-complementary
#8A3B9B #7C9B3B #3B9B5A
monochromatic
#3B1942 #632A6F #8A3B9B #AC55BE #C181CF

Accessibility & contrast

On white

6.60
#8A3B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8A3B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3B9B
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3B9B#FFFFFF#000000##FFFFFF
##8A3B9B1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579E
Deuteranopia (green-blind)
#436099
Tritanopia (blue-blind)
#8B4A65
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a3b9b;
/* rgb */ color: rgb(138, 59, 155);
/* oklch */ color: oklch(49.8% 0.164 320.2);
Tailwind
colors: {
  custom: {
    50: '#af76b9',
    500: '#8a3b9b',
    950: '#000000',
  },
}
SCSS
$custom: #8a3b9b;
$custom-light: #af76b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3b9b",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 155
  },
  "hsl": {
    "h": 289.375,
    "s": 44.86,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49822,
    "c": 0.16393,
    "h": 320.2
  },
  "luminance": 0.10898
}

Semantic roles & 50–950 ramp

primary
#8A3B9B
secondary
#84B979
accent
#D5536A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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