#843496#843496

#843496 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.8% C 0.166 H 319.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#843496
RGBrgb(132, 52, 150)
HSLhsl(289, 49%, 40%)
HSVhsv(289, 65%, 59%)
CMYKcmyk(12%, 65.3%, 0%, 41.2%)
CIE-LABlab(37.05, 48.84, -38.44)
CIE-LCHlch(37.05, 62.15, 321.79°)
OKLaboklab(47.84% 0.1271 -0.1074)
OKLCHoklch(47.84% 0.166 319.8)
XYZxyz(16.2480, 9.5643, 29.8385)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843496 #469634
analogous
#533496 #843496 #963477
triadic
#843496 #968434 #349684
tetradic
#843496 #965334 #469634 #347796
square
#843496 #965334 #469634 #347796
split-complementary
#843496 #779634 #349653
monochromatic
#34143B #5C2469 #843496 #A948BF #BF75CF

Accessibility & contrast

On white

7.21
#843496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#843496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #843496
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843496#FFFFFF#000000##FFFFFF
##8434961.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175299
Deuteranopia (green-blind)
#3C5A94
Tritanopia (blue-blind)
#844560
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #843496;
/* rgb */ color: rgb(132, 52, 150);
/* oklch */ color: oklch(47.8% 0.166 319.8);
Tailwind
colors: {
  custom: {
    50: '#ab71b5',
    500: '#843496',
    950: '#000000',
  },
}
SCSS
$custom: #843496;
$custom-light: #ab71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#843496",
  "rgb": {
    "r": 132,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 288.98,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47837,
    "c": 0.16639,
    "h": 319.8
  },
  "luminance": 0.09564
}

Semantic roles & 50–950 ramp

primary
#843496
secondary
#7CB86E
accent
#D85069
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #843496

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

Preview Lab → · Contrast checker → · Palette generator →

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