#8B41A2#8B41A2

#8B41A2 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.2% C 0.162 H 317.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8B41A2
RGBrgb(139, 65, 162)
HSLhsl(286, 43%, 45%)
HSVhsv(286, 60%, 64%)
CMYKcmyk(14.2%, 59.9%, 0%, 36.5%)
CIE-LABlab(41.02, 46.86, -39.29)
CIE-LCHlch(41.02, 61.16, 320.02°)
OKLaboklab(51.15% 0.1196 -0.1097)
OKLCHoklch(51.15% 0.162 317.5)
XYZxyz(19.0584, 11.8789, 35.4644)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41A2 #58A241
analogous
#5B41A2 #8B41A2 #A24189
triadic
#8B41A2 #A28B41 #41A28B
tetradic
#8B41A2 #A25B41 #58A241 #4189A2
square
#8B41A2 #A25B41 #58A241 #4189A2
split-complementary
#8B41A2 #89A241 #41A25B
monochromatic
#401E4B #662F76 #8B41A2 #A961BF #C18CD1

Accessibility & contrast

On white

6.22
#8B41A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8B41A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41A2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41A2#FFFFFF#000000##FFFFFF
##8B41A21.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA5
Deuteranopia (green-blind)
#4463A0
Tritanopia (blue-blind)
#8A516B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b41a2;
/* rgb */ color: rgb(139, 65, 162);
/* oklch */ color: oklch(51.2% 0.162 317.5);
Tailwind
colors: {
  custom: {
    50: '#af7abe',
    500: '#8b41a2',
    950: '#000000',
  },
}
SCSS
$custom: #8b41a2;
$custom-light: #af7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41a2",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 285.773,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51154,
    "c": 0.16234,
    "h": 317.5
  },
  "luminance": 0.11878
}

Semantic roles & 50–950 ramp

primary
#8B41A2
secondary
#90BC83
accent
#D35573
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8B41A2

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

Preview Lab → · Contrast checker → · Palette generator →

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