#8A3C8A#8A3C8A

#8A3C8A is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.0% C 0.146 H 327.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8A3C8A
RGBrgb(138, 60, 138)
HSLhsl(300, 39%, 39%)
HSVhsv(300, 57%, 54%)
CMYKcmyk(0%, 56.5%, 0%, 45.9%)
CIE-LABlab(38.67, 44.29, -28.50)
CIE-LCHlch(38.67, 52.67, 327.24°)
OKLaboklab(48.99% 0.1232 -0.0784)
OKLCHoklch(48.99% 0.146 327.5)
XYZxyz(16.6843, 10.4710, 25.1821)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3C8A #3C8A3C
analogous
#633C8A #8A3C8A #8A3C63
triadic
#8A3C8A #8A8A3C #3C8A8A
tetradic
#8A3C8A #8A633C #3C8A3C #3C638A
square
#8A3C8A #8A633C #3C8A3C #3C638A
split-complementary
#8A3C8A #638A3C #3C8A63
monochromatic
#351735 #5F295F #8A3C8A #B350B3 #C67BC6

Accessibility & contrast

On white

6.79
#8A3C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8A3C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3C8A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3C8A#FFFFFF#000000##FFFFFF
##8A3C8A1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558C
Deuteranopia (green-blind)
#4D5F88
Tritanopia (blue-blind)
#8E455D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3c8a;
/* rgb */ color: rgb(138, 60, 138);
/* oklch */ color: oklch(49.0% 0.146 327.5);
Tailwind
colors: {
  custom: {
    50: '#ae76ac',
    500: '#8a3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a3c8a;
$custom-light: #ae76ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3c8a",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4899,
    "c": 0.14607,
    "h": 327.5
  },
  "luminance": 0.1047
}

Semantic roles & 50–950 ramp

primary
#8A3C8A
secondary
#73AF73
accent
#CF5959
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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