#8A3A89#8A3A89

#8A3A89 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.7% C 0.148 H 328.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8A3A89
RGBrgb(138, 58, 137)
HSLhsl(301, 41%, 38%)
HSVhsv(301, 58%, 54%)
CMYKcmyk(0%, 58%, 0.7%, 45.9%)
CIE-LABlab(38.26, 45.08, -28.53)
CIE-LCHlch(38.26, 53.35, 327.67°)
OKLaboklab(48.67% 0.1259 -0.0785)
OKLCHoklch(48.67% 0.148 328)
XYZxyz(16.5094, 10.2366, 24.7683)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3A89 #3A8A3B
analogous
#633A8A #8A3A89 #8A3A61
triadic
#8A3A89 #898A3A #3A898A
tetradic
#8A3A89 #8A633A #3A8A3B #3A618A
square
#8A3A89 #8A633A #3A8A3B #3A618A
split-complementary
#8A3A89 #618A3A #3A8A63
monochromatic
#341633 #5F285E #8A3A89 #B44DB3 #C678C5

Accessibility & contrast

On white

6.89
#8A3A89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8A3A89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3A89
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3A89#FFFFFF#000000##FFFFFF
##8A3A891.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32538B
Deuteranopia (green-blind)
#4C5E87
Tritanopia (blue-blind)
#8E435C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3a89;
/* rgb */ color: rgb(138, 58, 137);
/* oklch */ color: oklch(48.7% 0.148 328.0);
Tailwind
colors: {
  custom: {
    50: '#ae75ac',
    500: '#8a3a89',
    950: '#000000',
  },
}
SCSS
$custom: #8a3a89;
$custom-light: #ae75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3a89",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 300.75,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48672,
    "c": 0.14833,
    "h": 328
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

primary
#8A3A89
secondary
#70B071
accent
#D15957
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3A89

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

Preview Lab → · Contrast checker → · Palette generator →

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