#8B41BE#8B41BE

#8B41BE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 53.0% C 0.192 H 308.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8B41BE
RGBrgb(139, 65, 190)
HSLhsl(276, 49%, 50%)
HSVhsv(276, 66%, 75%)
CMYKcmyk(26.8%, 65.8%, 0%, 25.5%)
CIE-LABlab(42.74, 52.99, -53.08)
CIE-LCHlch(42.74, 75.01, 314.95°)
OKLaboklab(52.95% 0.119 -0.1501)
OKLCHoklch(52.95% 0.192 308.4)
XYZxyz(21.8301, 12.9876, 50.0621)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41BE #74BE41
analogous
#4C41BE #8B41BE #BE41B3
triadic
#8B41BE #BE8B41 #41BE8B
tetradic
#8B41BE #BE4C41 #74BE41 #41B3BE
square
#8B41BE #BE4C41 #74BE41 #41B3BE
split-complementary
#8B41BE #B3BE41 #41BE4C
monochromatic
#482263 #6A3190 #8B41BE #A76FCE #C39CDD

Accessibility & contrast

On white

5.84
#8B41BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8B41BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41BE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41BE#FFFFFF#000000##FFFFFF
##8B41BE1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#2A66BB
Tritanopia (blue-blind)
#835B7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b41be;
/* rgb */ color: rgb(139, 65, 190);
/* oklch */ color: oklch(53.0% 0.192 308.4);
Tailwind
colors: {
  custom: {
    50: '#b17bd2',
    500: '#8b41be',
    950: '#000000',
  },
}
SCSS
$custom: #8b41be;
$custom-light: #b17bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41be",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 275.52,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.52953,
    "c": 0.19158,
    "h": 308.4
  },
  "luminance": 0.12987
}

Semantic roles & 50–950 ramp

primary
#8B41BE
secondary
#A8C991
accent
#D94F87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8B41BE

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

Preview Lab → · Contrast checker → · Palette generator →

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