#843AA2#843AA2

#843AA2 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.3% C 0.170 H 314.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#843AA2
RGBrgb(132, 58, 162)
HSLhsl(283, 47%, 43%)
HSVhsv(283, 64%, 64%)
CMYKcmyk(18.5%, 64.2%, 0%, 36.5%)
CIE-LABlab(38.80, 48.52, -42.90)
CIE-LCHlch(38.80, 64.77, 318.52°)
OKLaboklab(49.33% 0.1196 -0.1204)
OKLCHoklch(49.33% 0.17 314.8)
XYZxyz(17.5493, 10.5409, 35.2856)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843AA2 #58A23A
analogous
#503AA2 #843AA2 #A23A8C
triadic
#843AA2 #A2843A #3AA284
tetradic
#843AA2 #A2503A #58A23A #3A8CA2
square
#843AA2 #A2503A #58A23A #3A8CA2
split-complementary
#843AA2 #8CA23A #3AA250
monochromatic
#3B1A48 #5F2A75 #843AA2 #A357C3 #BC84D3

Accessibility & contrast

On white

6.76
#843AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#843AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843AA2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843AA2#FFFFFF#000000##FFFFFF
##843AA21.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A5
Deuteranopia (green-blind)
#375DA0
Tritanopia (blue-blind)
#824D69
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #843aa2;
/* rgb */ color: rgb(132, 58, 162);
/* oklch */ color: oklch(49.3% 0.170 314.8);
Tailwind
colors: {
  custom: {
    50: '#ab75be',
    500: '#843aa2',
    950: '#000000',
  },
}
SCSS
$custom: #843aa2;
$custom-light: #ab75be;
$custom-dark: #000000;
JSON
{
  "hex": "#843aa2",
  "rgb": {
    "r": 132,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 282.692,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49334,
    "c": 0.16975,
    "h": 314.8
  },
  "luminance": 0.1054
}

Semantic roles & 50–950 ramp

primary
#843AA2
secondary
#8EBD7B
accent
#D75178
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #843AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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