#841FA1#841FA1

#841FA1 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.5% C 0.201 H 317.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#841FA1
RGBrgb(132, 31, 161)
HSLhsl(287, 68%, 38%)
HSVhsv(287, 81%, 63%)
CMYKcmyk(18%, 80.7%, 0%, 36.9%)
CIE-LABlab(34.92, 59.08, -48.52)
CIE-LCHlch(34.92, 76.45, 320.60°)
OKLaboklab(46.55% 0.1473 -0.1367)
OKLCHoklch(46.55% 0.201 317.1)
XYZxyz(16.4378, 8.4594, 34.4783)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841FA1 #3CA11F
analogous
#431FA1 #841FA1 #A11F7D
triadic
#841FA1 #A1841F #1FA184
tetradic
#841FA1 #A1431F #3CA11F #1F7DA1
square
#841FA1 #A1431F #3CA11F #1F7DA1
split-complementary
#841FA1 #7DA11F #1FA143
monochromatic
#300B3A #5A156E #841FA1 #AE29D4 #C25BDF

Accessibility & contrast

On white

7.80
#841FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#841FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841FA1
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841FA1#FFFFFF#000000##FFFFFF
##841FA11.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#21559E
Tritanopia (blue-blind)
#823D61
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #841fa1;
/* rgb */ color: rgb(132, 31, 161);
/* oklch */ color: oklch(46.5% 0.201 317.1);
Tailwind
colors: {
  custom: {
    50: '#ac68be',
    500: '#841fa1',
    950: '#000000',
  },
}
SCSS
$custom: #841fa1;
$custom-light: #ac68be;
$custom-dark: #000000;
JSON
{
  "hex": "#841fa1",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 286.615,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46549,
    "c": 0.20096,
    "h": 317.1
  },
  "luminance": 0.08459
}

Semantic roles & 50–950 ramp

primary
#841FA1
secondary
#70C458
accent
#EB3D64
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #841FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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