#843AA5#843AA5

#843AA5 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.5% C 0.173 H 313.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#843AA5
RGBrgb(132, 58, 165)
HSLhsl(281, 48%, 44%)
HSVhsv(281, 65%, 65%)
CMYKcmyk(20%, 64.8%, 0%, 35.3%)
CIE-LABlab(38.98, 49.17, -44.40)
CIE-LCHlch(38.98, 66.25, 317.92°)
OKLaboklab(49.53% 0.1195 -0.1248)
OKLCHoklch(49.53% 0.173 313.8)
XYZxyz(17.8192, 10.6488, 36.7068)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843AA5 #5BA53A
analogous
#4E3AA5 #843AA5 #A53A90
triadic
#843AA5 #A5843A #3AA584
tetradic
#843AA5 #A54E3A #5BA53A #3A90A5
square
#843AA5 #A54E3A #5BA53A #3A90A5
split-complementary
#843AA5 #90A53A #3AA54E
monochromatic
#3C1A4A #602A78 #843AA5 #A358C4 #BC85D4

Accessibility & contrast

On white

6.71
#843AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#843AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843AA5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843AA5#FFFFFF#000000##FFFFFF
##843AA51.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0958A8
Deuteranopia (green-blind)
#355EA2
Tritanopia (blue-blind)
#814E6A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #843aa5;
/* rgb */ color: rgb(132, 58, 165);
/* oklch */ color: oklch(49.5% 0.173 313.8);
Tailwind
colors: {
  custom: {
    50: '#ab75c0',
    500: '#843aa5',
    950: '#000000',
  },
}
SCSS
$custom: #843aa5;
$custom-light: #ab75c0;
$custom-dark: #000000;
JSON
{
  "hex": "#843aa5",
  "rgb": {
    "r": 132,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 281.495,
    "s": 47.982,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49528,
    "c": 0.17284,
    "h": 313.8
  },
  "luminance": 0.10648
}

Semantic roles & 50–950 ramp

primary
#843AA5
secondary
#91BE7D
accent
#D8507A
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #843AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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