#8B41BB#8B41BB

#8B41BB is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.7% C 0.188 H 309.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8B41BB
RGBrgb(139, 65, 187)
HSLhsl(276, 48%, 49%)
HSVhsv(276, 65%, 73%)
CMYKcmyk(25.7%, 65.2%, 0%, 26.7%)
CIE-LABlab(42.55, 52.31, -51.64)
CIE-LCHlch(42.55, 73.51, 315.37°)
OKLaboklab(52.75% 0.1192 -0.1459)
OKLCHoklch(52.75% 0.188 309.3)
XYZxyz(21.5056, 12.8578, 48.3530)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41BB #71BB41
analogous
#4E41BB #8B41BB #BB41AE
triadic
#8B41BB #BB8B41 #41BB8B
tetradic
#8B41BB #BB4E41 #71BB41 #41AEBB
square
#8B41BB #BB4E41 #71BB41 #41AEBB
split-complementary
#8B41BB #AEBB41 #41BB4E
monochromatic
#472160 #69318E #8B41BB #A76DCC #C29ADC

Accessibility & contrast

On white

5.88
#8B41BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8B41BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41BB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41BB#FFFFFF#000000##FFFFFF
##8B41BB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b41bb;
/* rgb */ color: rgb(139, 65, 187);
/* oklch */ color: oklch(52.7% 0.188 309.3);
Tailwind
colors: {
  custom: {
    50: '#b17ad0',
    500: '#8b41bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b41bb;
$custom-light: #b17ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41bb",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 276.393,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52749,
    "c": 0.18841,
    "h": 309.3
  },
  "luminance": 0.12857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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