#841CB3#841CB3

#841CB3 is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.7% C 0.219 H 311.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#841CB3
RGBrgb(132, 28, 179)
HSLhsl(281, 73%, 41%)
HSVhsv(281, 84%, 70%)
CMYKcmyk(26.3%, 84.4%, 0%, 29.8%)
CIE-LABlab(35.97, 63.49, -57.62)
CIE-LCHlch(35.97, 85.73, 317.78°)
OKLaboklab(47.7% 0.1454 -0.1634)
OKLCHoklch(47.7% 0.219 311.7)
XYZxyz(18.0661, 8.9912, 43.4229)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841CB3 #4BB31C
analogous
#391CB3 #841CB3 #B31C96
triadic
#841CB3 #B3841C #1CB384
tetradic
#841CB3 #B3391C #4BB31C #1C96B3
square
#841CB3 #B3391C #4BB31C #1C96B3
split-complementary
#841CB3 #96B31C #1CB339
monochromatic
#360B49 #5D147E #841CB3 #A72EDE #BE63E7

Accessibility & contrast

On white

7.50
#841CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#841CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841CB3
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841CB3#FFFFFF#000000##FFFFFF
##841CB31.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#7E456B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #841cb3;
/* rgb */ color: rgb(132, 28, 179);
/* oklch */ color: oklch(47.7% 0.219 311.7);
Tailwind
colors: {
  custom: {
    50: '#ad68cb',
    500: '#841cb3',
    950: '#000000',
  },
}
SCSS
$custom: #841cb3;
$custom-light: #ad68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#841cb3",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 281.325,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.477,
    "c": 0.21877,
    "h": 311.7
  },
  "luminance": 0.08991
}

Semantic roles & 50–950 ramp

primary
#841CB3
secondary
#81CB5F
accent
#F03871
background
#FBF6FC
surface
#F6EBF9
border
#D0C6D2
text
#110713
muted
#807A82

Preview Lab

Preview with #841CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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