#843BB6#843BB6

#843BB6 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.189 H 308.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#843BB6
RGBrgb(132, 59, 182)
HSLhsl(276, 51%, 47%)
HSVhsv(276, 68%, 71%)
CMYKcmyk(27.5%, 67.6%, 0%, 28.6%)
CIE-LABlab(40.26, 52.48, -52.43)
CIE-LCHlch(40.26, 74.19, 315.03°)
OKLaboklab(50.81% 0.1172 -0.1484)
OKLCHoklch(50.81% 0.189 308.3)
XYZxyz(19.5215, 11.4112, 45.4211)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BB6 #6DB63B
analogous
#473BB6 #843BB6 #B63BAA
triadic
#843BB6 #B6843B #3BB684
tetradic
#843BB6 #B6473B #6DB63B #3BAAB6
square
#843BB6 #B6473B #6DB63B #3BAAB6
split-complementary
#843BB6 #AAB63B #3BB647
monochromatic
#411D5A #622C88 #843BB6 #A162CC #BD90DB

Accessibility & contrast

On white

6.40
#843BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#843BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843BB6
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843BB6#FFFFFF#000000##FFFFFF
##843BB61.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#2260B3
Tritanopia (blue-blind)
#7C5574
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #843bb6;
/* rgb */ color: rgb(132, 59, 182);
/* oklch */ color: oklch(50.8% 0.189 308.3);
Tailwind
colors: {
  custom: {
    50: '#ac76cd',
    500: '#843bb6',
    950: '#000000',
  },
}
SCSS
$custom: #843bb6;
$custom-light: #ac76cd;
$custom-dark: #000000;
JSON
{
  "hex": "#843bb6",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 275.61,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50805,
    "c": 0.18912,
    "h": 308.3
  },
  "luminance": 0.11411
}

Semantic roles & 50–950 ramp

primary
#843BB6
secondary
#A0C687
accent
#DB4D87
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #843BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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