#8A3A92#8A3A92

#8A3A92 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.2% C 0.157 H 323.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8A3A92
RGBrgb(138, 58, 146)
HSLhsl(295, 43%, 40%)
HSVhsv(295, 60%, 57%)
CMYKcmyk(5.5%, 60.3%, 0%, 42.7%)
CIE-LABlab(38.73, 46.79, -33.28)
CIE-LCHlch(38.73, 57.42, 324.57°)
OKLaboklab(49.17% 0.1267 -0.0922)
OKLCHoklch(49.17% 0.157 323.9)
XYZxyz(17.1821, 10.5056, 28.3113)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3A92 #42923A
analogous
#5E3A92 #8A3A92 #923A6E
triadic
#8A3A92 #928A3A #3A928A
tetradic
#8A3A92 #925E3A #42923A #3A6E92
square
#8A3A92 #925E3A #42923A #3A6E92
split-complementary
#8A3A92 #6E923A #3A925E
monochromatic
#37173A #612966 #8A3A92 #B050B9 #C47CCB

Accessibility & contrast

On white

6.77
#8A3A92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8A3A92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3A92
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3A92#FFFFFF#000000##FFFFFF
##8A3A921.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a3a92;
/* rgb */ color: rgb(138, 58, 146);
/* oklch */ color: oklch(49.2% 0.157 323.9);
Tailwind
colors: {
  custom: {
    50: '#af75b2',
    500: '#8a3a92',
    950: '#000000',
  },
}
SCSS
$custom: #8a3a92;
$custom-light: #af75b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3a92",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 146
  },
  "hsl": {
    "h": 294.545,
    "s": 43.137,
    "l": 40
  },
  "oklch": {
    "l": 0.4917,
    "c": 0.15674,
    "h": 323.9
  },
  "luminance": 0.10505
}

Semantic roles & 50–950 ramp

primary
#8A3A92
secondary
#79B474
accent
#D35560
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3A92

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

Preview Lab → · Contrast checker → · Palette generator →

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