#841F95#841F95

#841F95 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.191 H 321.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#841F95
RGBrgb(132, 31, 149)
HSLhsl(291, 66%, 35%)
HSVhsv(291, 79%, 58%)
CMYKcmyk(11.4%, 79.2%, 0%, 41.6%)
CIE-LABlab(34.10, 56.81, -42.55)
CIE-LCHlch(34.10, 70.98, 323.17°)
OKLaboklab(45.71% 0.149 -0.1192)
OKLCHoklch(45.71% 0.191 321.3)
XYZxyz(15.4299, 8.0563, 29.1702)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841F95 #30951F
analogous
#491F95 #841F95 #951F6B
triadic
#841F95 #95841F #1F9584
tetradic
#841F95 #95491F #30951F #1F6B95
square
#841F95 #95491F #30951F #1F6B95
split-complementary
#841F95 #6B951F #1F9549
monochromatic
#2A0A30 #571462 #841F95 #B12AC8 #C853DB

Accessibility & contrast

On white

8.04
#841F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#841F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841F95
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841F95#FFFFFF#000000##FFFFFF
##841F951.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #841f95;
/* rgb */ color: rgb(132, 31, 149);
/* oklch */ color: oklch(45.7% 0.191 321.3);
Tailwind
colors: {
  custom: {
    50: '#ac68b5',
    500: '#841f95',
    950: '#000000',
  },
}
SCSS
$custom: #841f95;
$custom-light: #ac68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#841f95",
  "rgb": {
    "r": 132,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 291.356,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45708,
    "c": 0.19081,
    "h": 321.3
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#841F95
secondary
#61BF51
accent
#E93F58
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #841F95

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

Preview Lab → · Contrast checker → · Palette generator →

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