#843C8A#843C8A

#843C8A is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.2% C 0.142 H 324.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#843C8A
RGBrgb(132, 60, 138)
HSLhsl(295, 39%, 39%)
HSVhsv(295, 57%, 54%)
CMYKcmyk(4.3%, 56.5%, 0%, 45.9%)
CIE-LABlab(37.79, 42.58, -29.94)
CIE-LCHlch(37.79, 52.05, 324.88°)
OKLaboklab(48.16% 0.1159 -0.0827)
OKLCHoklch(48.16% 0.142 324.5)
XYZxyz(15.7186, 9.9731, 25.1369)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843C8A #428A3C
analogous
#5D3C8A #843C8A #8A3C69
triadic
#843C8A #8A843C #3C8A84
tetradic
#843C8A #8A5D3C #428A3C #3C698A
square
#843C8A #8A5D3C #428A3C #3C698A
split-complementary
#843C8A #698A3C #3C8A5D
monochromatic
#321735 #5B295F #843C8A #AB50B3 #C07BC6

Accessibility & contrast

On white

7.01
#843C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#843C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #843C8A
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843C8A#FFFFFF#000000##FFFFFF
##843C8A1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538C
Deuteranopia (green-blind)
#485C88
Tritanopia (blue-blind)
#87465D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #843c8a;
/* rgb */ color: rgb(132, 60, 138);
/* oklch */ color: oklch(48.2% 0.142 324.5);
Tailwind
colors: {
  custom: {
    50: '#aa76ac',
    500: '#843c8a',
    950: '#000000',
  },
}
SCSS
$custom: #843c8a;
$custom-light: #aa76ac;
$custom-dark: #000000;
JSON
{
  "hex": "#843c8a",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 295.385,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48162,
    "c": 0.14243,
    "h": 324.5
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

primary
#843C8A
secondary
#77AF73
accent
#CF5962
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #843C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#843C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva