#841E9B#841E9B

#841E9B is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.197 H 319.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#841E9B
RGBrgb(132, 30, 155)
HSLhsl(289, 68%, 36%)
HSVhsv(289, 81%, 61%)
CMYKcmyk(14.8%, 80.6%, 0%, 39.2%)
CIE-LABlab(34.40, 58.24, -45.73)
CIE-LCHlch(34.40, 74.05, 321.86°)
OKLaboklab(46.05% 0.149 -0.1285)
OKLCHoklch(46.05% 0.197 319.2)
XYZxyz(15.8956, 8.2014, 31.7497)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841E9B #359B1E
analogous
#461E9B #841E9B #9B1E74
triadic
#841E9B #9B841E #1E9B84
tetradic
#841E9B #9B461E #359B1E #1E749B
square
#841E9B #9B461E #359B1E #1E749B
split-complementary
#841E9B #749B1E #1E9B46
monochromatic
#2D0A34 #581468 #841E9B #B028CE #C555DE

Accessibility & contrast

On white

7.95
#841E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841E9B
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841E9B#FFFFFF#000000##FFFFFF
##841E9B1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#285498
Tritanopia (blue-blind)
#843A5D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #841e9b;
/* rgb */ color: rgb(132, 30, 155);
/* oklch */ color: oklch(46.0% 0.197 319.2);
Tailwind
colors: {
  custom: {
    50: '#ac67b9',
    500: '#841e9b',
    950: '#000000',
  },
}
SCSS
$custom: #841e9b;
$custom-light: #ac67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#841e9b",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 288.96,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46048,
    "c": 0.19678,
    "h": 319.2
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#841E9B
secondary
#68C253
accent
#EA3D5D
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #841E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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