#8A3B8A#8A3B8A

#8A3B8A is a mid, vivid purple. Relative luminance 0.104; OKLCH L 48.9% C 0.148 H 327.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8A3B8A
RGBrgb(138, 59, 138)
HSLhsl(300, 40%, 39%)
HSVhsv(300, 57%, 54%)
CMYKcmyk(0%, 57.2%, 0%, 45.9%)
CIE-LABlab(38.49, 44.78, -28.78)
CIE-LCHlch(38.49, 53.23, 327.27°)
OKLaboklab(48.86% 0.1246 -0.0792)
OKLCHoklch(48.86% 0.148 327.5)
XYZxyz(16.6324, 10.3672, 25.1648)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3B8A #3B8A3B
analogous
#623B8A #8A3B8A #8A3B62
triadic
#8A3B8A #8A8A3B #3B8A8A
tetradic
#8A3B8A #8A623B #3B8A3B #3B628A
square
#8A3B8A #8A623B #3B8A3B #3B628A
split-complementary
#8A3B8A #628A3B #3B8A62
monochromatic
#341634 #5F295F #8A3B8A #B44FB4 #C679C6

Accessibility & contrast

On white

6.83
#8A3B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8A3B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3B8A
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3B8A#FFFFFF#000000##FFFFFF
##8A3B8A1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#8E445D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a3b8a;
/* rgb */ color: rgb(138, 59, 138);
/* oklch */ color: oklch(48.9% 0.148 327.5);
Tailwind
colors: {
  custom: {
    50: '#ae75ac',
    500: '#8a3b8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a3b8a;
$custom-light: #ae75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3b8a",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48857,
    "c": 0.14767,
    "h": 327.5
  },
  "luminance": 0.10366
}

Semantic roles & 50–950 ramp

primary
#8A3B8A
secondary
#71AF71
accent
#D05858
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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