#843BC7#843BC7

#843BC7 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.207 H 303.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#843BC7
RGBrgb(132, 59, 199)
HSLhsl(271, 56%, 51%)
HSVhsv(271, 70%, 78%)
CMYKcmyk(33.7%, 70.4%, 0%, 22%)
CIE-LABlab(41.46, 56.42, -60.44)
CIE-LCHlch(41.46, 82.68, 313.03°)
OKLaboklab(52.04% 0.115 -0.1719)
OKLCHoklch(52.04% 0.207 303.8)
XYZxyz(21.3861, 12.1570, 55.2416)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BC7 #7EC73B
analogous
#3E3BC7 #843BC7 #C73BC4
triadic
#843BC7 #C7843B #3BC784
tetradic
#843BC7 #C73E3B #7EC73B #3BC4C7
square
#843BC7 #C73E3B #7EC73B #3BC4C7
split-complementary
#843BC7 #C4C73B #3BC73E
monochromatic
#451E69 #652C99 #843BC7 #A26BD5 #C09AE2

Accessibility & contrast

On white

6.12
#843BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#843BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843BC7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843BC7#FFFFFF#000000##FFFFFF
##843BC71.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#775C7D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #843bc7;
/* rgb */ color: rgb(132, 59, 199);
/* oklch */ color: oklch(52.0% 0.207 303.8);
Tailwind
colors: {
  custom: {
    50: '#ad77d9',
    500: '#843bc7',
    950: '#000000',
  },
}
SCSS
$custom: #843bc7;
$custom-light: #ad77d9;
$custom-dark: #000000;
JSON
{
  "hex": "#843bc7",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 271.286,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52042,
    "c": 0.20686,
    "h": 303.8
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#843BC7
secondary
#AECE90
accent
#DF4991
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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