#841FA6#841FA6

#841FA6 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.9% C 0.205 H 315.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#841FA6
RGBrgb(132, 31, 166)
HSLhsl(285, 69%, 39%)
HSVhsv(285, 81%, 65%)
CMYKcmyk(20.5%, 81.3%, 0%, 34.9%)
CIE-LABlab(35.28, 60.05, -50.96)
CIE-LCHlch(35.28, 78.76, 319.68°)
OKLaboklab(46.91% 0.1463 -0.1439)
OKLCHoklch(46.91% 0.205 315.5)
XYZxyz(16.8875, 8.6393, 36.8470)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841FA6 #41A61F
analogous
#401FA6 #841FA6 #A61F84
triadic
#841FA6 #A6841F #1FA684
tetradic
#841FA6 #A6401F #41A61F #1F84A6
square
#841FA6 #A6401F #41A61F #1F84A6
split-complementary
#841FA6 #84A61F #1FA640
monochromatic
#320C3F #5B1572 #841FA6 #AC2BD7 #C05EE1

Accessibility & contrast

On white

7.70
#841FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#841FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841FA6
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841FA6#FFFFFF#000000##FFFFFF
##841FA61.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#1955A3
Tritanopia (blue-blind)
#814064
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #841fa6;
/* rgb */ color: rgb(132, 31, 166);
/* oklch */ color: oklch(46.9% 0.205 315.5);
Tailwind
colors: {
  custom: {
    50: '#ac68c1',
    500: '#841fa6',
    950: '#000000',
  },
}
SCSS
$custom: #841fa6;
$custom-light: #ac68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#841fa6",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 284.889,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46914,
    "c": 0.20522,
    "h": 315.5
  },
  "luminance": 0.08639
}

Semantic roles & 50–950 ramp

primary
#841FA6
secondary
#76C55B
accent
#EB3C68
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #841FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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