#8A3B94#8A3B94

#8A3B94 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.4% C 0.157 H 323.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8A3B94
RGBrgb(138, 59, 148)
HSLhsl(293, 43%, 41%)
HSVhsv(293, 60%, 58%)
CMYKcmyk(6.8%, 60.1%, 0%, 42%)
CIE-LABlab(39.02, 46.70, -34.05)
CIE-LCHlch(39.02, 57.79, 323.90°)
OKLaboklab(49.41% 0.1255 -0.0945)
OKLCHoklch(49.41% 0.157 323)
XYZxyz(17.3900, 10.6702, 29.1548)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3B94 #45943B
analogous
#5D3B94 #8A3B94 #943B71
triadic
#8A3B94 #948A3B #3B948A
tetradic
#8A3B94 #945D3B #45943B #3B7194
square
#8A3B94 #945D3B #45943B #3B7194
split-complementary
#8A3B94 #71943B #3B945D
monochromatic
#38183C #612A68 #8A3B94 #AE52BA #C37ECC

Accessibility & contrast

On white

6.70
#8A3B94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8A3B94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3B94
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3B94#FFFFFF#000000##FFFFFF
##8A3B941.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5697
Deuteranopia (green-blind)
#475F92
Tritanopia (blue-blind)
#8C4862
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a3b94;
/* rgb */ color: rgb(138, 59, 148);
/* oklch */ color: oklch(49.4% 0.157 323.0);
Tailwind
colors: {
  custom: {
    50: '#af76b4',
    500: '#8a3b94',
    950: '#000000',
  },
}
SCSS
$custom: #8a3b94;
$custom-light: #af76b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3b94",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 148
  },
  "hsl": {
    "h": 293.258,
    "s": 42.995,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49412,
    "c": 0.15711,
    "h": 323
  },
  "luminance": 0.10669
}

Semantic roles & 50–950 ramp

primary
#8A3B94
secondary
#7DB576
accent
#D35563
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3B94

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

Preview Lab → · Contrast checker → · Palette generator →

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