#8B41B5#8B41B5

#8B41B5 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.182 H 311.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8B41B5
RGBrgb(139, 65, 181)
HSLhsl(278, 47%, 48%)
HSVhsv(278, 64%, 71%)
CMYKcmyk(23.2%, 64.1%, 0%, 29%)
CIE-LABlab(42.16, 50.97, -48.74)
CIE-LCHlch(42.16, 70.52, 316.28°)
OKLaboklab(52.35% 0.1196 -0.1374)
OKLCHoklch(52.35% 0.182 311)
XYZxyz(20.8767, 12.6062, 45.0406)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41B5 #6BB541
analogous
#5141B5 #8B41B5 #B541A5
triadic
#8B41B5 #B58B41 #41B58B
tetradic
#8B41B5 #B55141 #6BB541 #41A5B5
square
#8B41B5 #B55141 #6BB541 #41A5B5
split-complementary
#8B41B5 #A5B541 #41B551
monochromatic
#46215B #683188 #8B41B5 #A76AC9 #C197DA

Accessibility & contrast

On white

5.96
#8B41B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8B41B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41B5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41B5#FFFFFF#000000##FFFFFF
##8B41B51.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0160B9
Deuteranopia (green-blind)
#3565B2
Tritanopia (blue-blind)
#865875
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b41b5;
/* rgb */ color: rgb(139, 65, 181);
/* oklch */ color: oklch(52.3% 0.182 311.0);
Tailwind
colors: {
  custom: {
    50: '#b07acc',
    500: '#8b41b5',
    950: '#000000',
  },
}
SCSS
$custom: #8b41b5;
$custom-light: #b07acc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41b5",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 278.276,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52349,
    "c": 0.18211,
    "h": 311
  },
  "luminance": 0.12606
}

Semantic roles & 50–950 ramp

primary
#8B41B5
secondary
#A1C58C
accent
#D75181
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8B41B5

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

Preview Lab → · Contrast checker → · Palette generator →

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