#841F96#841F96

#841F96 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.192 H 321.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#841F96
RGBrgb(132, 31, 150)
HSLhsl(291, 66%, 35%)
HSVhsv(291, 79%, 59%)
CMYKcmyk(12%, 79.3%, 0%, 41.2%)
CIE-LABlab(34.17, 57.00, -43.06)
CIE-LCHlch(34.17, 71.43, 322.93°)
OKLaboklab(45.78% 0.1489 -0.1207)
OKLCHoklch(45.78% 0.192 321)
XYZxyz(15.5101, 8.0884, 29.5925)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F96 #31961F
analogous
#481F96 #841F96 #961F6D
triadic
#841F96 #96841F #1F9684
tetradic
#841F96 #96481F #31961F #1F6D96
square
#841F96 #96481F #31961F #1F6D96
split-complementary
#841F96 #6D961F #1F9648
monochromatic
#2B0A31 #571563 #841F96 #B129C9 #C754DC

Accessibility & contrast

On white

8.02
#841F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#841F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F96
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F96#FFFFFF#000000##FFFFFF
##841F961.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#2E5493
Tritanopia (blue-blind)
#85385A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #841f96;
/* rgb */ color: rgb(132, 31, 150);
/* oklch */ color: oklch(45.8% 0.192 321.0);
Tailwind
colors: {
  custom: {
    50: '#ac68b5',
    500: '#841f96',
    950: '#000000',
  },
}
SCSS
$custom: #841f96;
$custom-light: #ac68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#841f96",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 290.924,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45776,
    "c": 0.19165,
    "h": 321
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#841F96
secondary
#62BF52
accent
#E93F59
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #841F96

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

Preview Lab → · Contrast checker → · Palette generator →

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