#8B41BC#8B41BC

#8B41BC is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.8% C 0.189 H 309.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8B41BC
RGBrgb(139, 65, 188)
HSLhsl(276, 49%, 50%)
HSVhsv(276, 65%, 74%)
CMYKcmyk(26.1%, 65.4%, 0%, 26.3%)
CIE-LABlab(42.61, 52.54, -52.12)
CIE-LCHlch(42.61, 74.01, 315.23°)
OKLaboklab(52.82% 0.1192 -0.1473)
OKLCHoklch(52.82% 0.189 309)
XYZxyz(21.6130, 12.9008, 48.9187)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41BC #72BC41
analogous
#4E41BC #8B41BC #BC41B0
triadic
#8B41BC #BC8B41 #41BC8B
tetradic
#8B41BC #BC4E41 #72BC41 #41B0BC
square
#8B41BC #BC4E41 #72BC41 #41B0BC
split-complementary
#8B41BC #B0BC41 #41BC4E
monochromatic
#482261 #69318F #8B41BC #A76ECD #C29BDC

Accessibility & contrast

On white

5.87
#8B41BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8B41BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41BC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41BC#FFFFFF#000000##FFFFFF
##8B41BC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#2C66B9
Tritanopia (blue-blind)
#845A79
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b41bc;
/* rgb */ color: rgb(139, 65, 188);
/* oklch */ color: oklch(52.8% 0.189 309.0);
Tailwind
colors: {
  custom: {
    50: '#b17ad1',
    500: '#8b41bc',
    950: '#000000',
  },
}
SCSS
$custom: #8b41bc;
$custom-light: #b17ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41bc",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 276.098,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52817,
    "c": 0.18946,
    "h": 309
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#8B41BC
secondary
#A7C990
accent
#D85086
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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