#8B41BA#8B41BA

#8B41BA is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.7% C 0.187 H 309.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8B41BA
RGBrgb(139, 65, 186)
HSLhsl(277, 48%, 49%)
HSVhsv(277, 65%, 73%)
CMYKcmyk(25.3%, 65.1%, 0%, 27.1%)
CIE-LABlab(42.48, 52.09, -51.16)
CIE-LCHlch(42.48, 73.01, 315.52°)
OKLaboklab(52.68% 0.1193 -0.1445)
OKLCHoklch(52.68% 0.187 309.6)
XYZxyz(21.3989, 12.8151, 47.7911)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41BA #70BA41
analogous
#4F41BA #8B41BA #BA41AD
triadic
#8B41BA #BA8B41 #41BA8B
tetradic
#8B41BA #BA4F41 #70BA41 #41ADBA
square
#8B41BA #BA4F41 #70BA41 #41ADBA
split-complementary
#8B41BA #ADBA41 #41BA4F
monochromatic
#47215F #69318D #8B41BA #A76CCC #C29ADC

Accessibility & contrast

On white

5.89
#8B41BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8B41BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41BA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41BA#FFFFFF#000000##FFFFFF
##8B41BA1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#2F65B7
Tritanopia (blue-blind)
#845A78
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b41ba;
/* rgb */ color: rgb(139, 65, 186);
/* oklch */ color: oklch(52.7% 0.187 309.6);
Tailwind
colors: {
  custom: {
    50: '#b17acf',
    500: '#8b41ba',
    950: '#000000',
  },
}
SCSS
$custom: #8b41ba;
$custom-light: #b17acf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41ba",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 276.694,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52682,
    "c": 0.18737,
    "h": 309.6
  },
  "luminance": 0.12815
}

Semantic roles & 50–950 ramp

primary
#8B41BA
secondary
#A5C88F
accent
#D85085
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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