#8A3A91#8A3A91

#8A3A91 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.1% C 0.156 H 324.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8A3A91
RGBrgb(138, 58, 145)
HSLhsl(295, 43%, 40%)
HSVhsv(295, 60%, 57%)
CMYKcmyk(4.8%, 60%, 0%, 43.1%)
CIE-LABlab(38.68, 46.59, -32.76)
CIE-LCHlch(38.68, 56.96, 324.89°)
OKLaboklab(49.11% 0.1266 -0.0907)
OKLCHoklch(49.11% 0.156 324.4)
XYZxyz(17.1047, 10.4747, 27.9034)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3A91 #41913A
analogous
#5E3A91 #8A3A91 #913A6D
triadic
#8A3A91 #918A3A #3A918A
tetradic
#8A3A91 #915E3A #41913A #3A6D91
square
#8A3A91 #915E3A #41913A #3A6D91
split-complementary
#8A3A91 #6D913A #3A915E
monochromatic
#37173A #602965 #8A3A91 #B04FB9 #C47BCA

Accessibility & contrast

On white

6.79
#8A3A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8A3A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3A91
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3A91#FFFFFF#000000##FFFFFF
##8A3A911.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5594
Deuteranopia (green-blind)
#485E8F
Tritanopia (blue-blind)
#8D4660
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3a91;
/* rgb */ color: rgb(138, 58, 145);
/* oklch */ color: oklch(49.1% 0.156 324.4);
Tailwind
colors: {
  custom: {
    50: '#af75b1',
    500: '#8a3a91',
    950: '#000000',
  },
}
SCSS
$custom: #8a3a91;
$custom-light: #af75b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3a91",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 295.172,
    "s": 42.857,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49113,
    "c": 0.15578,
    "h": 324.4
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#8A3A91
secondary
#78B473
accent
#D3555F
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3A91

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

Preview Lab → · Contrast checker → · Palette generator →

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