#843C8D#843C8D

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

Color values

HEX#843C8D
RGBrgb(132, 60, 141)
HSLhsl(293, 40%, 39%)
HSVhsv(293, 57%, 55%)
CMYKcmyk(6.4%, 57.4%, 0%, 44.7%)
CIE-LABlab(37.95, 43.17, -31.53)
CIE-LCHlch(37.95, 53.46, 323.86°)
OKLaboklab(48.33% 0.1162 -0.0873)
OKLCHoklch(48.33% 0.145 323.1)
XYZxyz(15.9388, 10.0611, 26.2966)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843C8D #458D3C
analogous
#5B3C8D #843C8D #8D3C6E
triadic
#843C8D #8D843C #3C8D84
tetradic
#843C8D #8D5B3C #458D3C #3C6E8D
square
#843C8D #8D5B3C #458D3C #3C6E8D
split-complementary
#843C8D #6E8D3C #3C8D5B
monochromatic
#341737 #5C2A62 #843C8D #AA51B5 #BF7CC7

Accessibility & contrast

On white

6.97
#843C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#843C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843C8D
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843C8D#FFFFFF#000000##FFFFFF
##843C8D1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5490
Deuteranopia (green-blind)
#475C8B
Tritanopia (blue-blind)
#86475F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #843c8d;
/* rgb */ color: rgb(132, 60, 141);
/* oklch */ color: oklch(48.3% 0.145 323.1);
Tailwind
colors: {
  custom: {
    50: '#aa76ae',
    500: '#843c8d',
    950: '#000000',
  },
}
SCSS
$custom: #843c8d;
$custom-light: #aa76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#843c8d",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 293.333,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48329,
    "c": 0.14539,
    "h": 323.1
  },
  "luminance": 0.1006
}

Semantic roles & 50–950 ramp

primary
#843C8D
secondary
#7BB174
accent
#D05865
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #843C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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