#842876#842876

#842876 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.155 H 334.5°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#842876
RGBrgb(132, 40, 118)
HSLhsl(309, 53%, 34%)
HSVhsv(309, 70%, 52%)
CMYKcmyk(0%, 69.7%, 10.6%, 48.2%)
CIE-LABlab(33.42, 48.15, -24.39)
CIE-LCHlch(33.42, 53.97, 333.14°)
OKLaboklab(44.64% 0.1399 -0.0666)
OKLCHoklch(44.64% 0.155 334.5)
XYZxyz(13.5446, 7.7323, 17.9151)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842876 #288436
analogous
#642884 #842876 #842848
triadic
#842876 #768428 #287684
tetradic
#842876 #846428 #288436 #284884
square
#842876 #846428 #288436 #284884
split-complementary
#842876 #488428 #288464
monochromatic
#260C22 #551A4C #842876 #B336A0 #CD5ABB

Accessibility & contrast

On white

8.25
#842876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#842876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##842876#FFFFFF#000000##FFFFFF
##8428761.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)
#274678
Deuteranopia (green-blind)
#465374
Tritanopia (blue-blind)
#8A2F4B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #842876;
/* rgb */ color: rgb(132, 40, 118);
/* oklch */ color: oklch(44.6% 0.155 334.5);
Tailwind
colors: {
  custom: {
    50: '#ab6a9e',
    500: '#842876',
    950: '#000000',
  },
}
SCSS
$custom: #842876;
$custom-light: #ab6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#842876",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 309.13,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44636,
    "c": 0.15494,
    "h": 334.5
  },
  "luminance": 0.07731
}

Semantic roles & 50–950 ramp

primary
#842876
secondary
#56B264
accent
#DD614B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842876

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

Preview Lab → · Contrast checker → · Palette generator →

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