#8B41B7#8B41B7

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

Color values

HEX#8B41B7
RGBrgb(139, 65, 183)
HSLhsl(278, 48%, 49%)
HSVhsv(278, 64%, 72%)
CMYKcmyk(24%, 64.5%, 0%, 28.2%)
CIE-LABlab(42.29, 51.42, -49.71)
CIE-LCHlch(42.29, 71.52, 315.97°)
OKLaboklab(52.48% 0.1195 -0.1402)
OKLCHoklch(52.48% 0.184 310.4)
XYZxyz(21.0834, 12.6889, 46.1291)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41B7 #6DB741
analogous
#5041B7 #8B41B7 #B741A8
triadic
#8B41B7 #B78B41 #41B78B
tetradic
#8B41B7 #B75041 #6DB741 #41A8B7
square
#8B41B7 #B75041 #6DB741 #41A8B7
split-complementary
#8B41B7 #A8B741 #41B750
monochromatic
#46215D #69318A #8B41B7 #A76BCA #C298DA

Accessibility & contrast

On white

5.94
#8B41B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8B41B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41B7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41B7#FFFFFF#000000##FFFFFF
##8B41B71.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#3265B4
Tritanopia (blue-blind)
#855976
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b41b7;
/* rgb */ color: rgb(139, 65, 183);
/* oklch */ color: oklch(52.5% 0.184 310.4);
Tailwind
colors: {
  custom: {
    50: '#b07acd',
    500: '#8b41b7',
    950: '#000000',
  },
}
SCSS
$custom: #8b41b7;
$custom-light: #b07acd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41b7",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 277.627,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52482,
    "c": 0.18421,
    "h": 310.4
  },
  "luminance": 0.12688
}

Semantic roles & 50–950 ramp

primary
#8B41B7
secondary
#A3C68E
accent
#D75183
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8B41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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