#841E8C#841E8C

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

Color values

HEX#841E8C
RGBrgb(132, 30, 140)
HSLhsl(296, 65%, 33%)
HSVhsv(296, 79%, 55%)
CMYKcmyk(5.7%, 78.6%, 0%, 45.1%)
CIE-LABlab(33.41, 55.49, -38.12)
CIE-LCHlch(33.41, 67.32, 325.51°)
OKLaboklab(45.03% 0.1506 -0.1063)
OKLCHoklch(45.03% 0.184 324.8)
XYZxyz(14.7132, 7.7285, 25.5226)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841E8C #268C1E
analogous
#4D1E8C #841E8C #8C1E5D
triadic
#841E8C #8C841E #1E8C84
tetradic
#841E8C #8C4D1E #268C1E #1E5D8C
square
#841E8C #8C4D1E #268C1E #1E5D8C
split-complementary
#841E8C #5D8C1E #1E8C4D
monochromatic
#250827 #54135A #841E8C #B429BE #CE4CD9

Accessibility & contrast

On white

8.25
#841E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#841E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841E8C
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841E8C#FFFFFF#000000##FFFFFF
##841E8C1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#355389
Tritanopia (blue-blind)
#873355
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #841e8c;
/* rgb */ color: rgb(132, 30, 140);
/* oklch */ color: oklch(45.0% 0.184 324.8);
Tailwind
colors: {
  custom: {
    50: '#ab67ae',
    500: '#841e8c',
    950: '#000000',
  },
}
SCSS
$custom: #841e8c;
$custom-light: #ab67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#841e8c",
  "rgb": {
    "r": 132,
    "g": 30,
    "b": 140
  },
  "hsl": {
    "h": 295.636,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45034,
    "c": 0.18435,
    "h": 324.8
  },
  "luminance": 0.07728
}

Semantic roles & 50–950 ramp

primary
#841E8C
secondary
#53BB4B
accent
#E8404C
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #841E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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