#8B41B3#8B41B3

#8B41B3 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.180 H 311.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8B41B3
RGBrgb(139, 65, 179)
HSLhsl(279, 47%, 48%)
HSVhsv(279, 64%, 70%)
CMYKcmyk(22.3%, 63.7%, 0%, 29.8%)
CIE-LABlab(42.04, 50.53, -47.76)
CIE-LCHlch(42.04, 69.53, 316.61°)
OKLaboklab(52.22% 0.1197 -0.1345)
OKLCHoklch(52.22% 0.18 311.7)
XYZxyz(20.6730, 12.5247, 43.9676)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41B3 #69B341
analogous
#5241B3 #8B41B3 #B341A2
triadic
#8B41B3 #B38B41 #41B38B
tetradic
#8B41B3 #B35241 #69B341 #41A2B3
square
#8B41B3 #B35241 #69B341 #41A2B3
split-complementary
#8B41B3 #A2B341 #41B352
monochromatic
#452059 #683186 #8B41B3 #A769C8 #C196D9

Accessibility & contrast

On white

5.99
#8B41B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8B41B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41B3
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41B3#FFFFFF#000000##FFFFFF
##8B41B31.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0960B7
Deuteranopia (green-blind)
#3765B0
Tritanopia (blue-blind)
#865774
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b41b3;
/* rgb */ color: rgb(139, 65, 179);
/* oklch */ color: oklch(52.2% 0.180 311.7);
Tailwind
colors: {
  custom: {
    50: '#b07aca',
    500: '#8b41b3',
    950: '#000000',
  },
}
SCSS
$custom: #8b41b3;
$custom-light: #b07aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41b3",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 278.947,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52218,
    "c": 0.18002,
    "h": 311.7
  },
  "luminance": 0.12524
}

Semantic roles & 50–950 ramp

primary
#8B41B3
secondary
#9FC48B
accent
#D65180
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B41B3

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

Preview Lab → · Contrast checker → · Palette generator →

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