#841E9F#841E9F

#841E9F is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.3% C 0.200 H 317.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#841E9F
RGBrgb(132, 30, 159)
HSLhsl(287, 68%, 37%)
HSVhsv(287, 81%, 62%)
CMYKcmyk(17%, 81.1%, 0%, 37.6%)
CIE-LABlab(34.68, 59.00, -47.71)
CIE-LCHlch(34.68, 75.87, 321.04°)
OKLaboklab(46.33% 0.1484 -0.1343)
OKLCHoklch(46.33% 0.2 317.8)
XYZxyz(16.2371, 8.3380, 33.5483)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841E9F #399F1E
analogous
#441E9F #841E9F #9F1E7A
triadic
#841E9F #9F841E #1E9F84
tetradic
#841E9F #9F441E #399F1E #1E7A9F
square
#841E9F #9F441E #399F1E #1E7A9F
split-complementary
#841E9F #7A9F1E #1E9F44
monochromatic
#2F0B38 #59146C #841E9F #AF28D2 #C358DF

Accessibility & contrast

On white

7.87
#841E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841E9F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841E9F#FFFFFF#000000##FFFFFF
##841E9F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#23559C
Tritanopia (blue-blind)
#833C5F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #841e9f;
/* rgb */ color: rgb(132, 30, 159);
/* oklch */ color: oklch(46.3% 0.200 317.8);
Tailwind
colors: {
  custom: {
    50: '#ac68bc',
    500: '#841e9f',
    950: '#000000',
  },
}
SCSS
$custom: #841e9f;
$custom-light: #ac68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#841e9f",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 287.442,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46332,
    "c": 0.20015,
    "h": 317.8
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#841E9F
secondary
#6DC356
accent
#EB3D61
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #841E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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