#841D97#841D97

#841D97 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.194 H 320.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#841D97
RGBrgb(132, 29, 151)
HSLhsl(291, 68%, 35%)
HSVhsv(291, 81%, 59%)
CMYKcmyk(12.6%, 80.8%, 0%, 40.8%)
CIE-LABlab(34.02, 57.79, -43.90)
CIE-LCHlch(34.02, 72.57, 322.78°)
OKLaboklab(45.7% 0.1503 -0.1232)
OKLCHoklch(45.7% 0.194 320.7)
XYZxyz(15.5403, 8.0195, 30.0015)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841D97 #30971D
analogous
#471D97 #841D97 #971D6D
triadic
#841D97 #97841D #1D9784
tetradic
#841D97 #97471D #30971D #1D6D97
square
#841D97 #97471D #30971D #1D6D97
split-complementary
#841D97 #6D971D #1D9747
monochromatic
#2A0930 #571364 #841D97 #B127CA #C851DE

Accessibility & contrast

On white

8.07
#841D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#841D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841D97
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841D97#FFFFFF#000000##FFFFFF
##841D971.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#2C5394
Tritanopia (blue-blind)
#85385B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #841d97;
/* rgb */ color: rgb(132, 29, 151);
/* oklch */ color: oklch(45.7% 0.194 320.7);
Tailwind
colors: {
  custom: {
    50: '#ac67b6',
    500: '#841d97',
    950: '#000000',
  },
}
SCSS
$custom: #841d97;
$custom-light: #ac67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#841d97",
  "rgb": {
    "r": 132,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 290.656,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45696,
    "c": 0.19435,
    "h": 320.7
  },
  "luminance": 0.08019
}

Semantic roles & 50–950 ramp

primary
#841D97
secondary
#61C04F
accent
#EB3D58
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #841D97

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

Preview Lab → · Contrast checker → · Palette generator →

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