#8A3A8A#8A3A8A

#8A3A8A is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.7% C 0.149 H 327.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8A3A8A
RGBrgb(138, 58, 138)
HSLhsl(300, 41%, 38%)
HSVhsv(300, 58%, 54%)
CMYKcmyk(0%, 58%, 0%, 45.9%)
CIE-LABlab(38.31, 45.27, -29.06)
CIE-LCHlch(38.31, 53.79, 327.30°)
OKLaboklab(48.73% 0.126 -0.08)
OKLCHoklch(48.73% 0.149 327.6)
XYZxyz(16.5815, 10.2654, 25.1479)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3A8A #3A8A3A
analogous
#623A8A #8A3A8A #8A3A62
triadic
#8A3A8A #8A8A3A #3A8A8A
tetradic
#8A3A8A #8A623A #3A8A3A #3A628A
square
#8A3A8A #8A623A #3A8A3A #3A628A
split-complementary
#8A3A8A #628A3A #3A8A62
monochromatic
#341634 #5F285F #8A3A8A #B44DB4 #C678C6

Accessibility & contrast

On white

6.88
#8A3A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A3A8A
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3A8A#FFFFFF#000000##FFFFFF
##8A3A8A1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548D
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#8E445C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3a8a;
/* rgb */ color: rgb(138, 58, 138);
/* oklch */ color: oklch(48.7% 0.149 327.6);
Tailwind
colors: {
  custom: {
    50: '#ae75ac',
    500: '#8a3a8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a3a8a;
$custom-light: #ae75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3a8a",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48726,
    "c": 0.14925,
    "h": 327.6
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#8A3A8A
secondary
#70B070
accent
#D15757
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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