#841BAE#841BAE

#841BAE is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.2% C 0.215 H 313.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#841BAE
RGBrgb(132, 27, 174)
HSLhsl(283, 73%, 39%)
HSVhsv(283, 84%, 68%)
CMYKcmyk(24.1%, 84.5%, 0%, 31.8%)
CIE-LABlab(35.49, 62.76, -55.41)
CIE-LCHlch(35.49, 83.72, 318.56°)
OKLaboklab(47.25% 0.1474 -0.1569)
OKLCHoklch(47.25% 0.215 313.2)
XYZxyz(17.5463, 8.7460, 40.8000)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841BAE #45AE1B
analogous
#3B1BAE #841BAE #AE1B8F
triadic
#841BAE #AE841B #1BAE84
tetradic
#841BAE #AE3B1B #45AE1B #1B8FAE
square
#841BAE #AE3B1B #45AE1B #1B8FAE
split-complementary
#841BAE #8FAE1B #1BAE3B
monochromatic
#340B44 #5C1379 #841BAE #AA28DE #BF5DE6

Accessibility & contrast

On white

7.64
#841BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#841BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841BAE
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841BAE#FFFFFF#000000##FFFFFF
##841BAE1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#7F4268
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #841bae;
/* rgb */ color: rgb(132, 27, 174);
/* oklch */ color: oklch(47.2% 0.215 313.2);
Tailwind
colors: {
  custom: {
    50: '#ad67c7',
    500: '#841bae',
    950: '#000000',
  },
}
SCSS
$custom: #841bae;
$custom-light: #ad67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#841bae",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 174
  },
  "hsl": {
    "h": 282.857,
    "s": 73.134,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47248,
    "c": 0.21528,
    "h": 313.2
  },
  "luminance": 0.08745
}

Semantic roles & 50–950 ramp

primary
#841BAE
secondary
#7BCA5B
accent
#F0386D
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #841BAE

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

Preview Lab → · Contrast checker → · Palette generator →

#841BAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva