#843CA5#843CA5

#843CA5 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.8% C 0.170 H 313.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#843CA5
RGBrgb(132, 60, 165)
HSLhsl(281, 47%, 44%)
HSVhsv(281, 64%, 65%)
CMYKcmyk(20%, 63.6%, 0%, 35.3%)
CIE-LABlab(39.33, 48.21, -43.84)
CIE-LCHlch(39.33, 65.16, 317.72°)
OKLaboklab(49.78% 0.1171 -0.1232)
OKLCHoklch(49.78% 0.17 313.5)
XYZxyz(17.9220, 10.8544, 36.7410)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CA5 #5DA53C
analogous
#503CA5 #843CA5 #A53C92
triadic
#843CA5 #A5843C #3CA584
tetradic
#843CA5 #A5503C #5DA53C #3C92A5
square
#843CA5 #A5503C #5DA53C #3C92A5
split-complementary
#843CA5 #92A53C #3CA550
monochromatic
#3C1B4B #602C78 #843CA5 #A25BC3 #BC88D4

Accessibility & contrast

On white

6.62
#843CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#843CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CA5
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CA5#FFFFFF#000000##FFFFFF
##843CA51.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1159A8
Deuteranopia (green-blind)
#375EA2
Tritanopia (blue-blind)
#81506B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #843ca5;
/* rgb */ color: rgb(132, 60, 165);
/* oklch */ color: oklch(49.8% 0.170 313.5);
Tailwind
colors: {
  custom: {
    50: '#ab76c0',
    500: '#843ca5',
    950: '#000000',
  },
}
SCSS
$custom: #843ca5;
$custom-light: #ab76c0;
$custom-dark: #000000;
JSON
{
  "hex": "#843ca5",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 281.143,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49782,
    "c": 0.16997,
    "h": 313.5
  },
  "luminance": 0.10854
}

Semantic roles & 50–950 ramp

primary
#843CA5
secondary
#93BE7F
accent
#D6517B
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #843CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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