#841B9F#841B9F

#841B9F is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.1% C 0.203 H 318.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#841B9F
RGBrgb(132, 27, 159)
HSLhsl(288, 71%, 36%)
HSVhsv(288, 83%, 62%)
CMYKcmyk(17%, 83%, 0%, 37.6%)
CIE-LABlab(34.38, 59.86, -48.18)
CIE-LCHlch(34.38, 76.84, 321.17°)
OKLaboklab(46.13% 0.1506 -0.1357)
OKLCHoklch(46.13% 0.203 318)
XYZxyz(16.1648, 8.1934, 33.5242)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B9F #369F1B
analogous
#421B9F #841B9F #9F1B78
triadic
#841B9F #9F841B #1B9F84
tetradic
#841B9F #9F421B #369F1B #1B789F
square
#841B9F #9F421B #369F1B #1B789F
split-complementary
#841B9F #789F1B #1B9F42
monochromatic
#2D0936 #59126B #841B9F #AF24D3 #C453E2

Accessibility & contrast

On white

7.96
#841B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#841B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841B9F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B9F#FFFFFF#000000##FFFFFF
##841B9F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#21549C
Tritanopia (blue-blind)
#833B5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #841b9f;
/* rgb */ color: rgb(132, 27, 159);
/* oklch */ color: oklch(46.1% 0.203 318.0);
Tailwind
colors: {
  custom: {
    50: '#ac67bc',
    500: '#841b9f',
    950: '#000000',
  },
}
SCSS
$custom: #841b9f;
$custom-light: #ac67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#841b9f",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 287.727,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46125,
    "c": 0.20272,
    "h": 318
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#841B9F
secondary
#69C551
accent
#EE3A5F
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #841B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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