#8A3192#8A3192

#8A3192 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.1% C 0.170 H 324.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8A3192
RGBrgb(138, 49, 146)
HSLhsl(295, 50%, 38%)
HSVhsv(295, 66%, 57%)
CMYKcmyk(5.5%, 66.4%, 0%, 42.7%)
CIE-LABlab(37.25, 50.88, -35.63)
CIE-LCHlch(37.25, 62.11, 325.00°)
OKLaboklab(48.1% 0.138 -0.099)
OKLCHoklch(48.1% 0.17 324.3)
XYZxyz(16.7674, 9.6762, 28.1731)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3192 #399231
analogous
#593192 #8A3192 #923169
triadic
#8A3192 #928A31 #31928A
tetradic
#8A3192 #925931 #399231 #316992
square
#8A3192 #925931 #399231 #316992
split-complementary
#8A3192 #699231 #319259
monochromatic
#331236 #5F2264 #8A3192 #B541BF #C76FCF

Accessibility & contrast

On white

7.16
#8A3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3192
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3192#FFFFFF#000000##FFFFFF
##8A31921.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5195
Deuteranopia (green-blind)
#425B90
Tritanopia (blue-blind)
#8D405D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3192;
/* rgb */ color: rgb(138, 49, 146);
/* oklch */ color: oklch(48.1% 0.170 324.3);
Tailwind
colors: {
  custom: {
    50: '#af70b2',
    500: '#8a3192',
    950: '#000000',
  },
}
SCSS
$custom: #8a3192;
$custom-light: #af70b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3192",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 295.052,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48096,
    "c": 0.16982,
    "h": 324.3
  },
  "luminance": 0.09675
}

Semantic roles & 50–950 ramp

primary
#8A3192
secondary
#6FB669
accent
#D94F5A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3192

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

Preview Lab → · Contrast checker → · Palette generator →

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