#843786#843786

#843786 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.3% C 0.147 H 326.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#843786
RGBrgb(132, 55, 134)
HSLhsl(298, 42%, 37%)
HSVhsv(298, 59%, 53%)
CMYKcmyk(1.5%, 59%, 0%, 47.5%)
CIE-LABlab(36.67, 44.29, -29.26)
CIE-LCHlch(36.67, 53.08, 326.55°)
OKLaboklab(47.27% 0.1224 -0.0807)
OKLCHoklch(47.27% 0.147 326.6)
XYZxyz(15.1847, 9.3600, 23.5565)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843786 #398637
analogous
#5D3786 #843786 #863761
triadic
#843786 #868437 #378684
tetradic
#843786 #865D37 #398637 #376186
square
#843786 #865D37 #398637 #376186
split-complementary
#843786 #618637 #37865D
monochromatic
#2F132F #59255B #843786 #AF49B1 #C372C5

Accessibility & contrast

On white

7.31
#843786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#843786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #843786
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843786#FFFFFF#000000##FFFFFF
##8437861.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5088
Deuteranopia (green-blind)
#475A84
Tritanopia (blue-blind)
#874159
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #843786;
/* rgb */ color: rgb(132, 55, 134);
/* oklch */ color: oklch(47.3% 0.147 326.6);
Tailwind
colors: {
  custom: {
    50: '#aa73a9',
    500: '#843786',
    950: '#000000',
  },
}
SCSS
$custom: #843786;
$custom-light: #aa73a9;
$custom-dark: #000000;
JSON
{
  "hex": "#843786",
  "rgb": {
    "r": 132,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 298.481,
    "s": 41.799,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4727,
    "c": 0.14663,
    "h": 326.6
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#843786
secondary
#6DAE6B
accent
#D25659
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #843786

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

Preview Lab → · Contrast checker → · Palette generator →

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