#843EA2#843EA2

#843EA2 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 49.9% C 0.164 H 314.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#843EA2
RGBrgb(132, 62, 162)
HSLhsl(282, 45%, 44%)
HSVhsv(282, 62%, 64%)
CMYKcmyk(18.5%, 61.7%, 0%, 36.5%)
CIE-LABlab(39.51, 46.56, -41.75)
CIE-LCHlch(39.51, 62.54, 318.12°)
OKLaboklab(49.85% 0.1146 -0.1171)
OKLCHoklch(49.85% 0.164 314.4)
XYZxyz(17.7589, 10.9600, 35.3554)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843EA2 #5CA23E
analogous
#523EA2 #843EA2 #A23E8E
triadic
#843EA2 #A2843E #3EA284
tetradic
#843EA2 #A2523E #5CA23E #3E8EA2
square
#843EA2 #A2523E #5CA23E #3E8EA2
split-complementary
#843EA2 #8EA23E #3EA252
monochromatic
#3C1C49 #602D76 #843EA2 #A35CC1 #BC89D2

Accessibility & contrast

On white

6.58
#843EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#843EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843EA2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843EA2#FFFFFF#000000##FFFFFF
##843EA21.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A5
Deuteranopia (green-blind)
#3B5FA0
Tritanopia (blue-blind)
#82506A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #843ea2;
/* rgb */ color: rgb(132, 62, 162);
/* oklch */ color: oklch(49.9% 0.164 314.4);
Tailwind
colors: {
  custom: {
    50: '#ab77be',
    500: '#843ea2',
    950: '#000000',
  },
}
SCSS
$custom: #843ea2;
$custom-light: #ab77be;
$custom-dark: #000000;
JSON
{
  "hex": "#843ea2",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 282,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49853,
    "c": 0.16386,
    "h": 314.4
  },
  "luminance": 0.10959
}

Semantic roles & 50–950 ramp

primary
#843EA2
secondary
#92BC80
accent
#D4537A
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #843EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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