#8B41BD#8B41BD

#8B41BD is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.9% C 0.191 H 308.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8B41BD
RGBrgb(139, 65, 189)
HSLhsl(276, 49%, 50%)
HSVhsv(276, 66%, 74%)
CMYKcmyk(26.5%, 65.6%, 0%, 25.9%)
CIE-LABlab(42.68, 52.77, -52.60)
CIE-LCHlch(42.68, 74.51, 315.09°)
OKLaboklab(52.89% 0.1191 -0.1487)
OKLCHoklch(52.89% 0.191 308.7)
XYZxyz(21.7212, 12.9440, 49.4884)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41BD #73BD41
analogous
#4D41BD #8B41BD #BD41B1
triadic
#8B41BD #BD8B41 #41BD8B
tetradic
#8B41BD #BD4D41 #73BD41 #41B1BD
square
#8B41BD #BD4D41 #73BD41 #41B1BD
split-complementary
#8B41BD #B1BD41 #41BD4D
monochromatic
#482262 #6A318F #8B41BD #A76ECD #C39CDD

Accessibility & contrast

On white

5.85
#8B41BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8B41BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41BD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41BD#FFFFFF#000000##FFFFFF
##8B41BD1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#2B66BA
Tritanopia (blue-blind)
#845B79
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b41bd;
/* rgb */ color: rgb(139, 65, 189);
/* oklch */ color: oklch(52.9% 0.191 308.7);
Tailwind
colors: {
  custom: {
    50: '#b17ad2',
    500: '#8b41bd',
    950: '#000000',
  },
}
SCSS
$custom: #8b41bd;
$custom-light: #b17ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41bd",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 275.806,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52885,
    "c": 0.19052,
    "h": 308.7
  },
  "luminance": 0.12944
}

Semantic roles & 50–950 ramp

primary
#8B41BD
secondary
#A7C991
accent
#D84F87
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B41BD

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

Preview Lab → · Contrast checker → · Palette generator →

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