#843796#843796

#843796 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.2% C 0.162 H 319.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#843796
RGBrgb(132, 55, 150)
HSLhsl(289, 46%, 40%)
HSVhsv(289, 63%, 59%)
CMYKcmyk(12%, 63.3%, 0%, 41.2%)
CIE-LABlab(37.55, 47.44, -37.64)
CIE-LCHlch(37.55, 60.56, 321.57°)
OKLaboklab(48.2% 0.1234 -0.105)
OKLCHoklch(48.2% 0.162 319.6)
XYZxyz(16.3862, 9.8407, 29.8845)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843796 #499637
analogous
#553796 #843796 #963778
triadic
#843796 #968437 #379684
tetradic
#843796 #965537 #499637 #377896
square
#843796 #965537 #499637 #377896
split-complementary
#843796 #789637 #379655
monochromatic
#35163C #5D2769 #843796 #A84DBE #BE79CE

Accessibility & contrast

On white

7.08
#843796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#843796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #843796
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843796#FFFFFF#000000##FFFFFF
##8437961.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5399
Deuteranopia (green-blind)
#3E5B94
Tritanopia (blue-blind)
#844761
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #843796;
/* rgb */ color: rgb(132, 55, 150);
/* oklch */ color: oklch(48.2% 0.162 319.6);
Tailwind
colors: {
  custom: {
    50: '#aa73b5',
    500: '#843796',
    950: '#000000',
  },
}
SCSS
$custom: #843796;
$custom-light: #aa73b5;
$custom-dark: #000000;
JSON
{
  "hex": "#843796",
  "rgb": {
    "r": 132,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 288.632,
    "s": 46.341,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48203,
    "c": 0.16204,
    "h": 319.6
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#843796
secondary
#7FB772
accent
#D6526B
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #843796

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

Preview Lab → · Contrast checker → · Palette generator →

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