#841778#841778

#841778 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.175 H 333.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#841778
RGBrgb(132, 23, 120)
HSLhsl(307, 70%, 30%)
HSVhsv(307, 83%, 52%)
CMYKcmyk(0%, 82.6%, 9.1%, 48.2%)
CIE-LABlab(31.52, 54.17, -28.63)
CIE-LCHlch(31.52, 61.28, 332.14°)
OKLaboklab(43.31% 0.1568 -0.0787)
OKLCHoklch(43.31% 0.175 333.4)
XYZxyz(13.2124, 6.8756, 18.3969)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841778 #178423
analogous
#5A1784 #841778 #841741
triadic
#841778 #788417 #177884
tetradic
#841778 #845A17 #178423 #174184
square
#841778 #845A17 #178423 #174184
split-complementary
#841778 #418417 #17845A
monochromatic
#1C0519 #500E49 #841778 #B820A7 #DC39CA

Accessibility & contrast

On white

8.84
#841778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#841778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841778
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841778#FFFFFF#000000##FFFFFF
##8417781.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11407A
Deuteranopia (green-blind)
#3F5076
Tritanopia (blue-blind)
#8A2448
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #841778;
/* rgb */ color: rgb(132, 23, 120);
/* oklch */ color: oklch(43.3% 0.175 333.4);
Tailwind
colors: {
  custom: {
    50: '#ab639f',
    500: '#841778',
    950: '#000000',
  },
}
SCSS
$custom: #841778;
$custom-light: #ab639f;
$custom-dark: #000000;
JSON
{
  "hex": "#841778",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 306.606,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43306,
    "c": 0.17545,
    "h": 333.4
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#841778
secondary
#3FB84C
accent
#ED4E3B
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841778

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

Preview Lab → · Contrast checker → · Palette generator →

#841778 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva