#841F9E#841F9E

#841F9E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.198 H 318.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#841F9E
RGBrgb(132, 31, 158)
HSLhsl(288, 67%, 37%)
HSVhsv(288, 80%, 62%)
CMYKcmyk(16.5%, 80.4%, 0%, 38%)
CIE-LABlab(34.71, 58.50, -47.05)
CIE-LCHlch(34.71, 75.08, 321.19°)
OKLaboklab(46.33% 0.1477 -0.1324)
OKLCHoklch(46.33% 0.198 318.1)
XYZxyz(16.1764, 8.3549, 33.1017)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F9E #399E1F
analogous
#451F9E #841F9E #9E1F78
triadic
#841F9E #9E841F #1F9E84
tetradic
#841F9E #9E451F #399E1F #1F789E
square
#841F9E #9E451F #399E1F #1F789E
split-complementary
#841F9E #789E1F #1F9E45
monochromatic
#2F0B38 #59156B #841F9E #AF29D1 #C359DE

Accessibility & contrast

On white

7.86
#841F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#841F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F9E
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F9E#FFFFFF#000000##FFFFFF
##841F9E1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#25559B
Tritanopia (blue-blind)
#833C5F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #841f9e;
/* rgb */ color: rgb(132, 31, 158);
/* oklch */ color: oklch(46.3% 0.198 318.1);
Tailwind
colors: {
  custom: {
    50: '#ac68bb',
    500: '#841f9e',
    950: '#000000',
  },
}
SCSS
$custom: #841f9e;
$custom-light: #ac68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#841f9e",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 287.717,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46334,
    "c": 0.1984,
    "h": 318.1
  },
  "luminance": 0.08354
}

Semantic roles & 50–950 ramp

primary
#841F9E
secondary
#6DC256
accent
#EA3E61
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #841F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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