#841BA7#841BA7

#841BA7 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.7% C 0.209 H 315.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#841BA7
RGBrgb(132, 27, 167)
HSLhsl(285, 72%, 38%)
HSVhsv(285, 84%, 65%)
CMYKcmyk(21%, 83.8%, 0%, 34.5%)
CIE-LABlab(34.96, 61.39, -52.07)
CIE-LCHlch(34.96, 80.50, 319.69°)
OKLaboklab(46.72% 0.149 -0.1471)
OKLCHoklch(46.72% 0.209 315.4)
XYZxyz(16.8816, 8.4801, 37.2993)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841BA7 #3EA71B
analogous
#3E1BA7 #841BA7 #A71B84
triadic
#841BA7 #A7841B #1BA784
tetradic
#841BA7 #A73E1B #3EA71B #1B84A7
square
#841BA7 #A73E1B #3EA71B #1B84A7
split-complementary
#841BA7 #84A71B #1BA73E
monochromatic
#310A3E #5A1272 #841BA7 #AE24DC #C158E4

Accessibility & contrast

On white

7.79
#841BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#841BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841BA7
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841BA7#FFFFFF#000000##FFFFFF
##841BA71.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#1255A4
Tritanopia (blue-blind)
#813F64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #841ba7;
/* rgb */ color: rgb(132, 27, 167);
/* oklch */ color: oklch(46.7% 0.209 315.4);
Tailwind
colors: {
  custom: {
    50: '#ac67c2',
    500: '#841ba7',
    950: '#000000',
  },
}
SCSS
$custom: #841ba7;
$custom-light: #ac67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#841ba7",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 167
  },
  "hsl": {
    "h": 285,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46715,
    "c": 0.20939,
    "h": 315.4
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#841BA7
secondary
#73C856
accent
#EF3966
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #841BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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