#8A3194#8A3194

#8A3194 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.2% C 0.172 H 323.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8A3194
RGBrgb(138, 49, 148)
HSLhsl(294, 50%, 39%)
HSVhsv(294, 67%, 58%)
CMYKcmyk(6.8%, 66.9%, 0%, 42%)
CIE-LABlab(37.37, 51.25, -36.66)
CIE-LCHlch(37.37, 63.01, 324.42°)
OKLaboklab(48.22% 0.138 -0.102)
OKLCHoklch(48.22% 0.172 323.5)
XYZxyz(16.9244, 9.7390, 28.9996)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3194 #3B9431
analogous
#583194 #8A3194 #94316C
triadic
#8A3194 #948A31 #31948A
tetradic
#8A3194 #945831 #3B9431 #316C94
square
#8A3194 #945831 #3B9431 #316C94
split-complementary
#8A3194 #6C9431 #319458
monochromatic
#341338 #5F2266 #8A3194 #B442C0 #C670D0

Accessibility & contrast

On white

7.12
#8A3194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A3194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3194
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3194#FFFFFF#000000##FFFFFF
##8A31941.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5197
Deuteranopia (green-blind)
#415C91
Tritanopia (blue-blind)
#8C415E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3194;
/* rgb */ color: rgb(138, 49, 148);
/* oklch */ color: oklch(48.2% 0.172 323.5);
Tailwind
colors: {
  custom: {
    50: '#af70b4',
    500: '#8a3194',
    950: '#000000',
  },
}
SCSS
$custom: #8a3194;
$custom-light: #af70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3194",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 148
  },
  "hsl": {
    "h": 293.939,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48216,
    "c": 0.17161,
    "h": 323.5
  },
  "luminance": 0.09738
}

Semantic roles & 50–950 ramp

primary
#8A3194
secondary
#71B769
accent
#DA4E5C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3194

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

Preview Lab → · Contrast checker → · Palette generator →

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