#841CA8#841CA8

#841CA8 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.9% C 0.209 H 315.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#841CA8
RGBrgb(132, 28, 168)
HSLhsl(285, 71%, 38%)
HSVhsv(285, 83%, 66%)
CMYKcmyk(21.4%, 83.3%, 0%, 34.1%)
CIE-LABlab(35.13, 61.31, -52.40)
CIE-LCHlch(35.13, 80.65, 319.48°)
OKLaboklab(46.86% 0.1481 -0.1481)
OKLCHoklch(46.86% 0.209 315)
XYZxyz(16.9977, 8.5638, 37.7958)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841CA8 #40A81C
analogous
#3E1CA8 #841CA8 #A81C86
triadic
#841CA8 #A8841C #1CA884
tetradic
#841CA8 #A83E1C #40A81C #1C86A8
square
#841CA8 #A83E1C #40A81C #1C86A8
split-complementary
#841CA8 #86A81C #1CA83E
monochromatic
#320B3F #5B1374 #841CA8 #AC26DB #C05BE4

Accessibility & contrast

On white

7.74
#841CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#841CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841CA8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841CA8#FFFFFF#000000##FFFFFF
##841CA81.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#1155A5
Tritanopia (blue-blind)
#814064
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #841ca8;
/* rgb */ color: rgb(132, 28, 168);
/* oklch */ color: oklch(46.9% 0.209 315.0);
Tailwind
colors: {
  custom: {
    50: '#ac67c3',
    500: '#841ca8',
    950: '#000000',
  },
}
SCSS
$custom: #841ca8;
$custom-light: #ac67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#841ca8",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 284.571,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46855,
    "c": 0.20945,
    "h": 315
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#841CA8
secondary
#75C758
accent
#EE3A68
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #841CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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