#841CA1#841CA1

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

Color values

HEX#841CA1
RGBrgb(132, 28, 161)
HSLhsl(287, 70%, 37%)
HSVhsv(287, 83%, 63%)
CMYKcmyk(18%, 82.6%, 0%, 36.9%)
CIE-LABlab(34.62, 59.96, -49.01)
CIE-LCHlch(34.62, 77.44, 320.74°)
OKLaboklab(46.34% 0.1495 -0.1382)
OKLCHoklch(46.34% 0.204 317.3)
XYZxyz(16.3630, 8.3100, 34.4534)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841CA1 #39A11C
analogous
#411CA1 #841CA1 #A11C7C
triadic
#841CA1 #A1841C #1CA184
tetradic
#841CA1 #A1411C #39A11C #1C7CA1
square
#841CA1 #A1411C #39A11C #1C7CA1
split-complementary
#841CA1 #7CA11C #1CA141
monochromatic
#2F0A39 #59136D #841CA1 #AF25D5 #C356E2

Accessibility & contrast

On white

7.89
#841CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#841CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841CA1
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841CA1#FFFFFF#000000##FFFFFF
##841CA11.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#1F549E
Tritanopia (blue-blind)
#833C60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #841ca1;
/* rgb */ color: rgb(132, 28, 161);
/* oklch */ color: oklch(46.3% 0.204 317.3);
Tailwind
colors: {
  custom: {
    50: '#ac67be',
    500: '#841ca1',
    950: '#000000',
  },
}
SCSS
$custom: #841ca1;
$custom-light: #ac67be;
$custom-dark: #000000;
JSON
{
  "hex": "#841ca1",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 286.917,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46337,
    "c": 0.20356,
    "h": 317.3
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#841CA1
secondary
#6DC554
accent
#ED3B62
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #841CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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