#841788#841788

#841788 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.188 H 326.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#841788
RGBrgb(132, 23, 136)
HSLhsl(298, 71%, 31%)
HSVhsv(298, 83%, 53%)
CMYKcmyk(2.9%, 83.1%, 0%, 46.7%)
CIE-LABlab(32.47, 56.78, -37.15)
CIE-LCHlch(32.47, 67.85, 326.81°)
OKLaboklab(44.29% 0.1564 -0.1034)
OKLCHoklch(44.29% 0.188 326.5)
XYZxyz(14.2658, 7.2969, 23.9448)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841788 #1B8817
analogous
#4B1788 #841788 #881753
triadic
#841788 #888417 #178884
tetradic
#841788 #884B17 #1B8817 #175388
square
#841788 #884B17 #1B8817 #175388
split-complementary
#841788 #538817 #17884B
monochromatic
#1E051F #510E54 #841788 #B720BC #D83BDE

Accessibility & contrast

On white

8.54
#841788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#841788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841788
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841788#FFFFFF#000000##FFFFFF
##8417881.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#355185
Tritanopia (blue-blind)
#882D51
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #841788;
/* rgb */ color: rgb(132, 23, 136);
/* oklch */ color: oklch(44.3% 0.188 326.5);
Tailwind
colors: {
  custom: {
    50: '#ac64ab',
    500: '#841788',
    950: '#000000',
  },
}
SCSS
$custom: #841788;
$custom-light: #ac64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#841788",
  "rgb": {
    "r": 132,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 297.876,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44288,
    "c": 0.1875,
    "h": 326.5
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#841788
secondary
#43BC3F
accent
#EE3A40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #841788

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

Preview Lab → · Contrast checker → · Palette generator →

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