#8B3AAF#8B3AAF

#8B3AAF is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.186 H 313.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8B3AAF
RGBrgb(139, 58, 175)
HSLhsl(282, 50%, 46%)
HSVhsv(282, 67%, 69%)
CMYKcmyk(20.6%, 66.9%, 0%, 31.4%)
CIE-LABlab(40.59, 52.96, -47.72)
CIE-LCHlch(40.59, 71.29, 317.98°)
OKLaboklab(51.09% 0.1281 -0.1343)
OKLCHoklch(51.09% 0.186 313.6)
XYZxyz(19.8971, 11.6108, 41.7421)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3AAF #5EAF3A
analogous
#503AAF #8B3AAF #AF3A99
triadic
#8B3AAF #AF8B3A #3AAF8B
tetradic
#8B3AAF #AF503A #5EAF3A #3A99AF
square
#8B3AAF #AF503A #5EAF3A #3A99AF
split-complementary
#8B3AAF #99AF3A #3AAF50
monochromatic
#421C53 #662B81 #8B3AAF #A85DC9 #C18BD9

Accessibility & contrast

On white

6.32
#8B3AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8B3AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3AAF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3AAF#FFFFFF#000000##FFFFFF
##8B3AAF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#3362AC
Tritanopia (blue-blind)
#885170
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b3aaf;
/* rgb */ color: rgb(139, 58, 175);
/* oklch */ color: oklch(51.1% 0.186 313.6);
Tailwind
colors: {
  custom: {
    50: '#b076c7',
    500: '#8b3aaf',
    950: '#000000',
  },
}
SCSS
$custom: #8b3aaf;
$custom-light: #b076c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3aaf",
  "rgb": {
    "r": 139,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 281.538,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51094,
    "c": 0.18562,
    "h": 313.6
  },
  "luminance": 0.1161
}

Semantic roles & 50–950 ramp

primary
#8B3AAF
secondary
#96C382
accent
#DA4E79
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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