#843BB5#843BB5

#843BB5 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.188 H 308.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#843BB5
RGBrgb(132, 59, 181)
HSLhsl(276, 51%, 47%)
HSVhsv(276, 67%, 71%)
CMYKcmyk(27.1%, 67.4%, 0%, 29%)
CIE-LABlab(40.20, 52.26, -51.95)
CIE-LCHlch(40.20, 73.69, 315.17°)
OKLaboklab(50.74% 0.1173 -0.147)
OKLCHoklch(50.74% 0.188 308.6)
XYZxyz(19.4185, 11.3700, 44.8788)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BB5 #6CB53B
analogous
#473BB5 #843BB5 #B53BA9
triadic
#843BB5 #B5843B #3BB584
tetradic
#843BB5 #B5473B #6CB53B #3BA9B5
square
#843BB5 #B5473B #6CB53B #3BA9B5
split-complementary
#843BB5 #A9B53B #3BB547
monochromatic
#411D59 #622C87 #843BB5 #A162CC #BD90DB

Accessibility & contrast

On white

6.41
#843BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#843BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843BB5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843BB5#FFFFFF#000000##FFFFFF
##843BB51.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#2360B2
Tritanopia (blue-blind)
#7D5573
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #843bb5;
/* rgb */ color: rgb(132, 59, 181);
/* oklch */ color: oklch(50.7% 0.188 308.6);
Tailwind
colors: {
  custom: {
    50: '#ac76cc',
    500: '#843bb5',
    950: '#000000',
  },
}
SCSS
$custom: #843bb5;
$custom-light: #ac76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#843bb5",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 275.902,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.18808,
    "h": 308.6
  },
  "luminance": 0.1137
}

Semantic roles & 50–950 ramp

primary
#843BB5
secondary
#A0C686
accent
#DA4D86
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #843BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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