#843FA5#843FA5

#843FA5 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.2% C 0.166 H 313.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#843FA5
RGBrgb(132, 63, 165)
HSLhsl(281, 45%, 45%)
HSVhsv(281, 62%, 65%)
CMYKcmyk(20%, 61.8%, 0%, 35.3%)
CIE-LABlab(39.88, 46.72, -42.97)
CIE-LCHlch(39.88, 63.47, 317.40°)
OKLaboklab(50.18% 0.1133 -0.1207)
OKLCHoklch(50.18% 0.166 313.2)
XYZxyz(18.0836, 11.1777, 36.7949)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FA5 #60A53F
analogous
#513FA5 #843FA5 #A53F93
triadic
#843FA5 #A5843F #3FA584
tetradic
#843FA5 #A5513F #60A53F #3F93A5
square
#843FA5 #A5513F #60A53F #3F93A5
split-complementary
#843FA5 #93A53F #3FA551
monochromatic
#3D1D4C #612E79 #843FA5 #A25FC2 #BC8CD3

Accessibility & contrast

On white

6.49
#843FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#843FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843FA5
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843FA5#FFFFFF#000000##FFFFFF
##843FA51.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5AA8
Deuteranopia (green-blind)
#3A60A3
Tritanopia (blue-blind)
#81526C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #843fa5;
/* rgb */ color: rgb(132, 63, 165);
/* oklch */ color: oklch(50.2% 0.166 313.2);
Tailwind
colors: {
  custom: {
    50: '#ab78c0',
    500: '#843fa5',
    950: '#000000',
  },
}
SCSS
$custom: #843fa5;
$custom-light: #ab78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#843fa5",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 280.588,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50177,
    "c": 0.16554,
    "h": 313.2
  },
  "luminance": 0.11177
}

Semantic roles & 50–950 ramp

primary
#843FA5
secondary
#95BE82
accent
#D4537D
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #843FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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