#8A3B91#8A3B91

#8A3B91 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.2% C 0.154 H 324.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8A3B91
RGBrgb(138, 59, 145)
HSLhsl(295, 42%, 40%)
HSVhsv(295, 59%, 57%)
CMYKcmyk(4.8%, 59.3%, 0%, 43.1%)
CIE-LABlab(38.86, 46.11, -32.48)
CIE-LCHlch(38.86, 56.40, 324.84°)
OKLaboklab(49.24% 0.1253 -0.0899)
OKLCHoklch(49.24% 0.154 324.3)
XYZxyz(17.1556, 10.5765, 27.9204)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3B91 #42913B
analogous
#5F3B91 #8A3B91 #913B6D
triadic
#8A3B91 #918A3B #3B918A
tetradic
#8A3B91 #915F3B #42913B #3B6D91
square
#8A3B91 #915F3B #42913B #3B6D91
split-complementary
#8A3B91 #6D913B #3B915F
monochromatic
#37183A #612966 #8A3B91 #B051B8 #C47CCA

Accessibility & contrast

On white

6.74
#8A3B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8A3B91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3B91
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3B91#FFFFFF#000000##FFFFFF
##8A3B911.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5594
Deuteranopia (green-blind)
#495F8F
Tritanopia (blue-blind)
#8D4760
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3b91;
/* rgb */ color: rgb(138, 59, 145);
/* oklch */ color: oklch(49.2% 0.154 324.3);
Tailwind
colors: {
  custom: {
    50: '#af76b1',
    500: '#8a3b91',
    950: '#000000',
  },
}
SCSS
$custom: #8a3b91;
$custom-light: #af76b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3b91",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 145
  },
  "hsl": {
    "h": 295.116,
    "s": 42.157,
    "l": 40
  },
  "oklch": {
    "l": 0.49242,
    "c": 0.15424,
    "h": 324.3
  },
  "luminance": 0.10576
}

Semantic roles & 50–950 ramp

primary
#8A3B91
secondary
#79B474
accent
#D25660
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3B91

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

Preview Lab → · Contrast checker → · Palette generator →

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