#843D8A#843D8A

#843D8A is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.3% C 0.141 H 324.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#843D8A
RGBrgb(132, 61, 138)
HSLhsl(295, 39%, 39%)
HSVhsv(295, 56%, 54%)
CMYKcmyk(4.3%, 55.8%, 0%, 45.9%)
CIE-LABlab(37.98, 42.07, -29.64)
CIE-LCHlch(37.98, 51.47, 324.83°)
OKLaboklab(48.3% 0.1145 -0.0819)
OKLCHoklch(48.3% 0.141 324.4)
XYZxyz(15.7715, 10.0788, 25.1545)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843D8A #438A3D
analogous
#5E3D8A #843D8A #8A3D6A
triadic
#843D8A #8A843D #3D8A84
tetradic
#843D8A #8A5E3D #438A3D #3D6A8A
square
#843D8A #8A5E3D #438A3D #3D6A8A
split-complementary
#843D8A #6A8A3D #3D8A5E
monochromatic
#331735 #5B2A60 #843D8A #AB52B2 #C07CC5

Accessibility & contrast

On white

6.96
#843D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#843D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843D8A
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843D8A#FFFFFF#000000##FFFFFF
##843D8A1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548C
Deuteranopia (green-blind)
#495C88
Tritanopia (blue-blind)
#87475D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #843d8a;
/* rgb */ color: rgb(132, 61, 138);
/* oklch */ color: oklch(48.3% 0.141 324.4);
Tailwind
colors: {
  custom: {
    50: '#aa76ac',
    500: '#843d8a',
    950: '#000000',
  },
}
SCSS
$custom: #843d8a;
$custom-light: #aa76ac;
$custom-dark: #000000;
JSON
{
  "hex": "#843d8a",
  "rgb": {
    "r": 132,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 295.325,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48301,
    "c": 0.14079,
    "h": 324.4
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

primary
#843D8A
secondary
#78AF74
accent
#CF5962
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #843D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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