#843E8D#843E8D

#843E8D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.6% C 0.142 H 323.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#843E8D
RGBrgb(132, 62, 141)
HSLhsl(293, 39%, 40%)
HSVhsv(293, 56%, 55%)
CMYKcmyk(6.4%, 56%, 0%, 44.7%)
CIE-LABlab(38.33, 42.15, -30.93)
CIE-LCHlch(38.33, 52.29, 323.73°)
OKLaboklab(48.61% 0.1134 -0.0856)
OKLCHoklch(48.61% 0.142 323)
XYZxyz(16.0456, 10.2747, 26.3322)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843E8D #478D3E
analogous
#5D3E8D #843E8D #8D3E6E
triadic
#843E8D #8D843E #3E8D84
tetradic
#843E8D #8D5D3E #478D3E #3E6E8D
square
#843E8D #8D5D3E #478D3E #3E6E8D
split-complementary
#843E8D #6E8D3E #3E8D5D
monochromatic
#341938 #5C2B62 #843E8D #A954B4 #BE7FC7

Accessibility & contrast

On white

6.87
#843E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#843E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843E8D
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843E8D#FFFFFF#000000##FFFFFF
##843E8D1.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315590
Deuteranopia (green-blind)
#485D8B
Tritanopia (blue-blind)
#86495F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #843e8d;
/* rgb */ color: rgb(132, 62, 141);
/* oklch */ color: oklch(48.6% 0.142 323.0);
Tailwind
colors: {
  custom: {
    50: '#aa77ae',
    500: '#843e8d',
    950: '#000000',
  },
}
SCSS
$custom: #843e8d;
$custom-light: #aa77ae;
$custom-dark: #000000;
JSON
{
  "hex": "#843e8d",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 293.165,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48607,
    "c": 0.14212,
    "h": 323
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#843E8D
secondary
#7DB176
accent
#CF5966
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #843E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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