#841AB3#841AB3

#841AB3 is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.6% C 0.220 H 311.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#841AB3
RGBrgb(132, 26, 179)
HSLhsl(282, 75%, 40%)
HSVhsv(282, 85%, 70%)
CMYKcmyk(26.3%, 85.5%, 0%, 29.8%)
CIE-LABlab(35.79, 64.01, -57.90)
CIE-LCHlch(35.79, 86.31, 317.87°)
OKLaboklab(47.58% 0.1467 -0.1643)
OKLCHoklch(47.58% 0.22 311.8)
XYZxyz(18.0203, 8.8995, 43.4076)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841AB3 #49B31A
analogous
#381AB3 #841AB3 #B31A95
triadic
#841AB3 #B3841A #1AB384
tetradic
#841AB3 #B3381A #49B31A #1A95B3
square
#841AB3 #B3381A #49B31A #1A95B3
split-complementary
#841AB3 #95B31A #1AB338
monochromatic
#350A48 #5D127E #841AB3 #A82AE0 #BE60E8

Accessibility & contrast

On white

7.55
#841AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#841AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841AB3
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841AB3#FFFFFF#000000##FFFFFF
##841AB31.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#7E446A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #841ab3;
/* rgb */ color: rgb(132, 26, 179);
/* oklch */ color: oklch(47.6% 0.220 311.8);
Tailwind
colors: {
  custom: {
    50: '#ad67cb',
    500: '#841ab3',
    950: '#000000',
  },
}
SCSS
$custom: #841ab3;
$custom-light: #ad67cb;
$custom-dark: #000000;
JSON
{
  "hex": "#841ab3",
  "rgb": {
    "r": 132,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 281.569,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47577,
    "c": 0.22023,
    "h": 311.8
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

primary
#841AB3
secondary
#7FCC5D
accent
#F13770
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #841AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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