#8A3E86#8A3E86

#8A3E86 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.1% C 0.139 H 329.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8A3E86
RGBrgb(138, 62, 134)
HSLhsl(303, 38%, 39%)
HSVhsv(303, 55%, 54%)
CMYKcmyk(0%, 55.1%, 2.9%, 45.9%)
CIE-LABlab(38.85, 42.55, -25.78)
CIE-LCHlch(38.85, 49.75, 328.79°)
OKLaboklab(49.05% 0.1198 -0.0706)
OKLCHoklch(49.05% 0.139 329.5)
XYZxyz(16.5068, 10.5708, 23.7206)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E86 #3E8A42
analogous
#683E8A #8A3E86 #8A3E60
triadic
#8A3E86 #868A3E #3E868A
tetradic
#8A3E86 #8A683E #3E8A42 #3E608A
square
#8A3E86 #8A683E #3E8A42 #3E608A
split-complementary
#8A3E86 #608A3E #3E8A68
monochromatic
#361834 #602B5D #8A3E86 #B253AD #C57EC1

Accessibility & contrast

On white

6.74
#8A3E86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8A3E86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3E86
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3E86#FFFFFF#000000##FFFFFF
##8A3E861.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395588
Deuteranopia (green-blind)
#505F84
Tritanopia (blue-blind)
#8F455C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3e86;
/* rgb */ color: rgb(138, 62, 134);
/* oklch */ color: oklch(49.1% 0.139 329.5);
Tailwind
colors: {
  custom: {
    50: '#ae77a9',
    500: '#8a3e86',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e86;
$custom-light: #ae77a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e86",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 134
  },
  "hsl": {
    "h": 303.158,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49052,
    "c": 0.13909,
    "h": 329.5
  },
  "luminance": 0.1057
}

Semantic roles & 50–950 ramp

primary
#8A3E86
secondary
#75AF78
accent
#CE605A
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3E86

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

Preview Lab → · Contrast checker → · Palette generator →

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