#843D8D#843D8D

#843D8D is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.5% C 0.144 H 323.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#843D8D
RGBrgb(132, 61, 141)
HSLhsl(293, 40%, 40%)
HSVhsv(293, 57%, 55%)
CMYKcmyk(6.4%, 56.7%, 0%, 44.7%)
CIE-LABlab(38.14, 42.67, -31.23)
CIE-LCHlch(38.14, 52.88, 323.80°)
OKLaboklab(48.47% 0.1148 -0.0865)
OKLCHoklch(48.47% 0.144 323)
XYZxyz(15.9917, 10.1669, 26.3142)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843D8D #468D3D
analogous
#5C3D8D #843D8D #8D3D6E
triadic
#843D8D #8D843D #3D8D84
tetradic
#843D8D #8D5C3D #468D3D #3D6E8D
square
#843D8D #8D5C3D #468D3D #3D6E8D
split-complementary
#843D8D #6E8D3D #3D8D5C
monochromatic
#341838 #5C2B62 #843D8D #A953B4 #BF7DC7

Accessibility & contrast

On white

6.92
#843D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#843D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843D8D
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843D8D#FFFFFF#000000##FFFFFF
##843D8D1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #843d8d;
/* rgb */ color: rgb(132, 61, 141);
/* oklch */ color: oklch(48.5% 0.144 323.0);
Tailwind
colors: {
  custom: {
    50: '#aa76ae',
    500: '#843d8d',
    950: '#000000',
  },
}
SCSS
$custom: #843d8d;
$custom-light: #aa76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#843d8d",
  "rgb": {
    "r": 132,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 293.25,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48467,
    "c": 0.14376,
    "h": 323
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#843D8D
secondary
#7CB175
accent
#CF5866
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #843D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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