#841CA5#841CA5

#841CA5 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.6% C 0.207 H 315.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#841CA5
RGBrgb(132, 28, 165)
HSLhsl(286, 71%, 38%)
HSVhsv(286, 83%, 65%)
CMYKcmyk(20%, 83%, 0%, 35.3%)
CIE-LABlab(34.91, 60.73, -50.96)
CIE-LCHlch(34.91, 79.27, 320.00°)
OKLaboklab(46.63% 0.1487 -0.1439)
OKLCHoklch(46.63% 0.207 315.9)
XYZxyz(16.7214, 8.4533, 36.3409)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841CA5 #3DA51C
analogous
#3F1CA5 #841CA5 #A51C82
triadic
#841CA5 #A5841C #1CA584
tetradic
#841CA5 #A53F1C #3DA51C #1C82A5
square
#841CA5 #A53F1C #3DA51C #1C82A5
split-complementary
#841CA5 #82A51C #1CA53F
monochromatic
#300A3C #5A1371 #841CA5 #AE25D9 #C159E3

Accessibility & contrast

On white

7.80
#841CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#841CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841CA5
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841CA5#FFFFFF#000000##FFFFFF
##841CA51.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#1855A2
Tritanopia (blue-blind)
#823E63
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #841ca5;
/* rgb */ color: rgb(132, 28, 165);
/* oklch */ color: oklch(46.6% 0.207 315.9);
Tailwind
colors: {
  custom: {
    50: '#ac67c0',
    500: '#841ca5',
    950: '#000000',
  },
}
SCSS
$custom: #841ca5;
$custom-light: #ac67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#841ca5",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 165
  },
  "hsl": {
    "h": 285.547,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46631,
    "c": 0.20691,
    "h": 315.9
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#841CA5
secondary
#71C656
accent
#EE3A65
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #841CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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