#841B8F#841B8F

#841B8F is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.190 H 323.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#841B8F
RGBrgb(132, 27, 143)
HSLhsl(294, 68%, 33%)
HSVhsv(294, 81%, 56%)
CMYKcmyk(7.7%, 81.1%, 0%, 43.9%)
CIE-LABlab(33.29, 56.92, -40.16)
CIE-LCHlch(33.29, 69.66, 324.79°)
OKLaboklab(45.01% 0.1528 -0.1122)
OKLCHoklch(45.01% 0.19 323.7)
XYZxyz(14.8651, 7.6735, 26.6794)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841B8F #268F1B
analogous
#4A1B8F #841B8F #8F1B60
triadic
#841B8F #8F841B #1B8F84
tetradic
#841B8F #8F4A1B #268F1B #1B608F
square
#841B8F #8F4A1B #268F1B #1B608F
split-complementary
#841B8F #608F1B #1B8F4A
monochromatic
#250828 #54115C #841B8F #B425C2 #CE48DC

Accessibility & contrast

On white

8.29
#841B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#841B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841B8F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841B8F#FFFFFF#000000##FFFFFF
##841B8F1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#32528C
Tritanopia (blue-blind)
#863356
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #841b8f;
/* rgb */ color: rgb(132, 27, 143);
/* oklch */ color: oklch(45.0% 0.190 323.7);
Tailwind
colors: {
  custom: {
    50: '#ac66b0',
    500: '#841b8f',
    950: '#000000',
  },
}
SCSS
$custom: #841b8f;
$custom-light: #ac66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#841b8f",
  "rgb": {
    "r": 132,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 294.31,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45012,
    "c": 0.18961,
    "h": 323.7
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

primary
#841B8F
secondary
#53BE48
accent
#EB3D4D
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #841B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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