#8A3190#8A3190

#8A3190 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.0% C 0.168 H 325.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8A3190
RGBrgb(138, 49, 144)
HSLhsl(296, 49%, 38%)
HSVhsv(296, 66%, 56%)
CMYKcmyk(4.2%, 66%, 0%, 43.5%)
CIE-LABlab(37.14, 50.50, -34.58)
CIE-LCHlch(37.14, 61.21, 325.60°)
OKLaboklab(47.98% 0.1379 -0.0959)
OKLCHoklch(47.98% 0.168 325.2)
XYZxyz(16.6132, 9.6145, 27.3609)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3190 #379031
analogous
#5B3190 #8A3190 #903166
triadic
#8A3190 #908A31 #31908A
tetradic
#8A3190 #905B31 #379031 #316690
square
#8A3190 #905B31 #379031 #316690
split-complementary
#8A3190 #669031 #31905B
monochromatic
#321235 #5E2162 #8A3190 #B641BE #C86ECE

Accessibility & contrast

On white

7.18
#8A3190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8A3190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3190
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3190#FFFFFF#000000##FFFFFF
##8A31901.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5093
Deuteranopia (green-blind)
#435B8E
Tritanopia (blue-blind)
#8D3F5C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3190;
/* rgb */ color: rgb(138, 49, 144);
/* oklch */ color: oklch(48.0% 0.168 325.2);
Tailwind
colors: {
  custom: {
    50: '#af70b1',
    500: '#8a3190',
    950: '#000000',
  },
}
SCSS
$custom: #8a3190;
$custom-light: #af70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3190",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 144
  },
  "hsl": {
    "h": 296.211,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47978,
    "c": 0.16802,
    "h": 325.2
  },
  "luminance": 0.09614
}

Semantic roles & 50–950 ramp

primary
#8A3190
secondary
#6DB568
accent
#D94F58
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3190

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

Preview Lab → · Contrast checker → · Palette generator →

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