#8A3A86#8A3A86

#8A3A86 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.5% C 0.146 H 329.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A3A86
RGBrgb(138, 58, 134)
HSLhsl(303, 41%, 38%)
HSVhsv(303, 58%, 54%)
CMYKcmyk(0%, 58%, 2.9%, 45.9%)
CIE-LABlab(38.11, 44.53, -26.93)
CIE-LCHlch(38.11, 52.04, 328.84°)
OKLaboklab(48.51% 0.1255 -0.0739)
OKLCHoklch(48.51% 0.146 329.5)
XYZxyz(16.2972, 10.1517, 23.6507)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3A86 #3A8A3E
analogous
#663A8A #8A3A86 #8A3A5E
triadic
#8A3A86 #868A3A #3A868A
tetradic
#8A3A86 #8A663A #3A8A3E #3A5E8A
square
#8A3A86 #8A663A #3A8A3E #3A5E8A
split-complementary
#8A3A86 #5E8A3A #3A8A66
monochromatic
#341632 #5F285C #8A3A86 #B44DAF #C678C2

Accessibility & contrast

On white

6.93
#8A3A86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8A3A86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3A86
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3A86#FFFFFF#000000##FFFFFF
##8A3A861.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345388
Deuteranopia (green-blind)
#4E5E84
Tritanopia (blue-blind)
#8F425A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3a86;
/* rgb */ color: rgb(138, 58, 134);
/* oklch */ color: oklch(48.5% 0.146 329.5);
Tailwind
colors: {
  custom: {
    50: '#ae75a9',
    500: '#8a3a86',
    950: '#000000',
  },
}
SCSS
$custom: #8a3a86;
$custom-light: #ae75a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3a86",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 134
  },
  "hsl": {
    "h": 303,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48513,
    "c": 0.14562,
    "h": 329.5
  },
  "luminance": 0.10151
}

Semantic roles & 50–950 ramp

primary
#8A3A86
secondary
#70B073
accent
#D15D57
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3A86

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

Preview Lab → · Contrast checker → · Palette generator →

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