#8B41B8#8B41B8

#8B41B8 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.5% C 0.185 H 310.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8B41B8
RGBrgb(139, 65, 184)
HSLhsl(277, 48%, 49%)
HSVhsv(277, 65%, 72%)
CMYKcmyk(24.5%, 64.7%, 0%, 27.8%)
CIE-LABlab(42.35, 51.64, -50.19)
CIE-LCHlch(42.35, 72.02, 315.81°)
OKLaboklab(52.55% 0.1194 -0.1416)
OKLCHoklch(52.55% 0.185 310.1)
XYZxyz(21.1878, 12.7307, 46.6792)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41B8 #6EB841
analogous
#5041B8 #8B41B8 #B841AA
triadic
#8B41B8 #B88B41 #41B88B
tetradic
#8B41B8 #B85041 #6EB841 #41AAB8
square
#8B41B8 #B85041 #6EB841 #41AAB8
split-complementary
#8B41B8 #AAB841 #41B850
monochromatic
#47215E #69318B #8B41B8 #A76BCB #C299DB

Accessibility & contrast

On white

5.92
#8B41B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8B41B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41B8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41B8#FFFFFF#000000##FFFFFF
##8B41B81.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#3165B5
Tritanopia (blue-blind)
#855977
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b41b8;
/* rgb */ color: rgb(139, 65, 184);
/* oklch */ color: oklch(52.5% 0.185 310.1);
Tailwind
colors: {
  custom: {
    50: '#b07ace',
    500: '#8b41b8',
    950: '#000000',
  },
}
SCSS
$custom: #8b41b8;
$custom-light: #b07ace;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41b8",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 277.311,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52548,
    "c": 0.18527,
    "h": 310.1
  },
  "luminance": 0.1273
}

Semantic roles & 50–950 ramp

primary
#8B41B8
secondary
#A4C78E
accent
#D75083
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B41B8

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

Preview Lab → · Contrast checker → · Palette generator →

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