#8B3FAC#8B3FAC

#8B3FAC is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.5% C 0.176 H 314.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8B3FAC
RGBrgb(139, 63, 172)
HSLhsl(282, 46%, 46%)
HSVhsv(282, 63%, 67%)
CMYKcmyk(19.2%, 63.4%, 0%, 32.5%)
CIE-LABlab(41.25, 49.97, -44.88)
CIE-LCHlch(41.25, 67.17, 318.07°)
OKLaboklab(51.51% 0.1223 -0.126)
OKLCHoklch(51.51% 0.176 314.1)
XYZxyz(19.8701, 12.0232, 40.2957)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FAC #60AC3F
analogous
#543FAC #8B3FAC #AC3F96
triadic
#8B3FAC #AC8B3F #3FAC8B
tetradic
#8B3FAC #AC543F #60AC3F #3F96AC
square
#8B3FAC #AC543F #60AC3F #3F96AC
split-complementary
#8B3FAC #96AC3F #3FAC54
monochromatic
#431E52 #672F7F #8B3FAC #A863C6 #C18FD6

Accessibility & contrast

On white

6.17
#8B3FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8B3FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FAC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FAC#FFFFFF#000000##FFFFFF
##8B3FAC1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145DAF
Deuteranopia (green-blind)
#3B63A9
Tritanopia (blue-blind)
#885370
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b3fac;
/* rgb */ color: rgb(139, 63, 172);
/* oklch */ color: oklch(51.5% 0.176 314.1);
Tailwind
colors: {
  custom: {
    50: '#b079c5',
    500: '#8b3fac',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fac;
$custom-light: #b079c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fac",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 281.835,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51511,
    "c": 0.17561,
    "h": 314.1
  },
  "luminance": 0.12023
}

Semantic roles & 50–950 ramp

primary
#8B3FAC
secondary
#98C186
accent
#D6527A
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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