#8B41AF#8B41AF

#8B41AF is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.0% C 0.176 H 312.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8B41AF
RGBrgb(139, 65, 175)
HSLhsl(280, 46%, 47%)
HSVhsv(280, 63%, 69%)
CMYKcmyk(20.6%, 62.9%, 0%, 31.4%)
CIE-LABlab(41.79, 49.65, -45.80)
CIE-LCHlch(41.79, 67.55, 317.31°)
OKLaboklab(51.96% 0.1198 -0.1287)
OKLCHoklch(51.96% 0.176 312.9)
XYZxyz(20.2743, 12.3653, 41.8679)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41AF #65AF41
analogous
#5441AF #8B41AF #AF419C
triadic
#8B41AF #AF8B41 #41AF8B
tetradic
#8B41AF #AF5441 #65AF41 #419CAF
square
#8B41AF #AF5441 #65AF41 #419CAF
split-complementary
#8B41AF #9CAF41 #41AF54
monochromatic
#442056 #683082 #8B41AF #A767C6 #C193D7

Accessibility & contrast

On white

6.05
#8B41AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8B41AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41AF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41AF#FFFFFF#000000##FFFFFF
##8B41AF1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145FB2
Deuteranopia (green-blind)
#3A64AC
Tritanopia (blue-blind)
#875672
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b41af;
/* rgb */ color: rgb(139, 65, 175);
/* oklch */ color: oklch(52.0% 0.176 312.9);
Tailwind
colors: {
  custom: {
    50: '#b07ac7',
    500: '#8b41af',
    950: '#000000',
  },
}
SCSS
$custom: #8b41af;
$custom-light: #b07ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41af",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 280.364,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5196,
    "c": 0.17583,
    "h": 312.9
  },
  "luminance": 0.12365
}

Semantic roles & 50–950 ramp

primary
#8B41AF
secondary
#9CC289
accent
#D5527D
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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