#841BA0#841BA0

#841BA0 is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.2% C 0.204 H 317.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#841BA0
RGBrgb(132, 27, 160)
HSLhsl(287, 71%, 37%)
HSVhsv(287, 83%, 63%)
CMYKcmyk(17.5%, 83.1%, 0%, 37.3%)
CIE-LABlab(34.45, 60.05, -48.67)
CIE-LCHlch(34.45, 77.30, 320.97°)
OKLaboklab(46.2% 0.1504 -0.1372)
OKLCHoklch(46.2% 0.204 317.6)
XYZxyz(16.2519, 8.2282, 33.9830)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841BA0 #37A01B
analogous
#411BA0 #841BA0 #A01B7A
triadic
#841BA0 #A0841B #1BA084
tetradic
#841BA0 #A0411B #37A01B #1B7AA0
square
#841BA0 #A0411B #37A01B #1B7AA0
split-complementary
#841BA0 #7AA01B #1BA041
monochromatic
#2E0937 #59126C #841BA0 #AF24D4 #C453E2

Accessibility & contrast

On white

7.94
#841BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#841BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841BA0
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841BA0#FFFFFF#000000##FFFFFF
##841BA01.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#1F549D
Tritanopia (blue-blind)
#833B5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #841ba0;
/* rgb */ color: rgb(132, 27, 160);
/* oklch */ color: oklch(46.2% 0.204 317.6);
Tailwind
colors: {
  custom: {
    50: '#ac67bd',
    500: '#841ba0',
    950: '#000000',
  },
}
SCSS
$custom: #841ba0;
$custom-light: #ac67bd;
$custom-dark: #000000;
JSON
{
  "hex": "#841ba0",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 287.368,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46198,
    "c": 0.20355,
    "h": 317.6
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

primary
#841BA0
secondary
#6AC552
accent
#EE3A60
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #841BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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