#8A3A8F#8A3A8F

#8A3A8F is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.0% C 0.154 H 325.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8A3A8F
RGBrgb(138, 58, 143)
HSLhsl(296, 42%, 39%)
HSVhsv(296, 59%, 56%)
CMYKcmyk(3.5%, 59.4%, 0%, 43.9%)
CIE-LABlab(38.57, 46.21, -31.71)
CIE-LCHlch(38.57, 56.04, 325.54°)
OKLaboklab(49% 0.1265 -0.0877)
OKLCHoklch(49% 0.154 325.3)
XYZxyz(16.9518, 10.4135, 27.0984)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3A8F #3F8F3A
analogous
#603A8F #8A3A8F #8F3A6A
triadic
#8A3A8F #8F8A3A #3A8F8A
tetradic
#8A3A8F #8F603A #3F8F3A #3A6A8F
square
#8A3A8F #8F603A #3F8F3A #3A6A8F
split-complementary
#8A3A8F #6A8F3A #3A8F60
monochromatic
#361738 #602863 #8A3A8F #B14FB7 #C57AC9

Accessibility & contrast

On white

6.81
#8A3A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8A3A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3A8F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3A8F#FFFFFF#000000##FFFFFF
##8A3A8F1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5492
Deuteranopia (green-blind)
#495E8D
Tritanopia (blue-blind)
#8D455F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3a8f;
/* rgb */ color: rgb(138, 58, 143);
/* oklch */ color: oklch(49.0% 0.154 325.3);
Tailwind
colors: {
  custom: {
    50: '#af75b0',
    500: '#8a3a8f',
    950: '#000000',
  },
}
SCSS
$custom: #8a3a8f;
$custom-light: #af75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3a8f",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 296.471,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49,
    "c": 0.1539,
    "h": 325.3
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#8A3A8F
secondary
#76B372
accent
#D2565D
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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