#8B41B2#8B41B2

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

Color values

HEX#8B41B2
RGBrgb(139, 65, 178)
HSLhsl(279, 47%, 48%)
HSVhsv(279, 63%, 70%)
CMYKcmyk(21.9%, 63.5%, 0%, 30.2%)
CIE-LABlab(41.98, 50.31, -47.27)
CIE-LCHlch(41.98, 69.03, 316.78°)
OKLaboklab(52.15% 0.1197 -0.1331)
OKLCHoklch(52.15% 0.179 312)
XYZxyz(20.5722, 12.4844, 43.4369)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41B2 #68B241
analogous
#5241B2 #8B41B2 #B241A0
triadic
#8B41B2 #B28B41 #41B28B
tetradic
#8B41B2 #B25241 #68B241 #41A0B2
square
#8B41B2 #B25241 #68B241 #41A0B2
split-complementary
#8B41B2 #A0B241 #41B252
monochromatic
#452058 #683185 #8B41B2 #A768C8 #C195D8

Accessibility & contrast

On white

6.01
#8B41B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B41B2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41B2#FFFFFF#000000##FFFFFF
##8B41B21.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5FB5
Deuteranopia (green-blind)
#3765AF
Tritanopia (blue-blind)
#875774
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b41b2;
/* rgb */ color: rgb(139, 65, 178);
/* oklch */ color: oklch(52.2% 0.179 312.0);
Tailwind
colors: {
  custom: {
    50: '#b07aca',
    500: '#8b41b2',
    950: '#000000',
  },
}
SCSS
$custom: #8b41b2;
$custom-light: #b07aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41b2",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 279.292,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52153,
    "c": 0.17897,
    "h": 312
  },
  "luminance": 0.12484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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