#841C8E#841C8E

#841C8E is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.188 H 324.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#841C8E
RGBrgb(132, 28, 142)
HSLhsl(295, 67%, 33%)
HSVhsv(295, 80%, 56%)
CMYKcmyk(7%, 80.3%, 0%, 44.3%)
CIE-LABlab(33.33, 56.45, -39.49)
CIE-LCHlch(33.33, 68.89, 325.03°)
OKLaboklab(45.02% 0.1521 -0.1103)
OKLCHoklch(45.02% 0.188 324.1)
XYZxyz(14.8130, 7.6900, 26.2900)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841C8E #268E1C
analogous
#4B1C8E #841C8E #8E1C5F
triadic
#841C8E #8E841C #1C8E84
tetradic
#841C8E #8E4B1C #268E1C #1C5F8E
square
#841C8E #8E4B1C #268E1C #1C5F8E
split-complementary
#841C8E #5F8E1C #1C8E4B
monochromatic
#250828 #54125B #841C8E #B426C1 #CE49DB

Accessibility & contrast

On white

8.27
#841C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#841C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841C8E
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841C8E#FFFFFF#000000##FFFFFF
##841C8E1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#33528B
Tritanopia (blue-blind)
#873355
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #841c8e;
/* rgb */ color: rgb(132, 28, 142);
/* oklch */ color: oklch(45.0% 0.188 324.1);
Tailwind
colors: {
  custom: {
    50: '#ac66b0',
    500: '#841c8e',
    950: '#000000',
  },
}
SCSS
$custom: #841c8e;
$custom-light: #ac66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#841c8e",
  "rgb": {
    "r": 132,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 294.737,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45016,
    "c": 0.18789,
    "h": 324.1
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#841C8E
secondary
#53BD49
accent
#EA3E4D
background
#FAF6FA
surface
#F5EBF5
border
#CFC6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #841C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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