#843BB2#843BB2

#843BB2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.185 H 309.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#843BB2
RGBrgb(132, 59, 178)
HSLhsl(277, 50%, 46%)
HSVhsv(277, 67%, 70%)
CMYKcmyk(25.8%, 66.9%, 0%, 30.2%)
CIE-LABlab(40.00, 51.58, -50.50)
CIE-LCHlch(40.00, 72.19, 315.60°)
OKLaboklab(50.53% 0.1176 -0.1427)
OKLCHoklch(50.53% 0.185 309.5)
XYZxyz(19.1140, 11.2482, 43.2750)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BB2 #69B23B
analogous
#493BB2 #843BB2 #B23BA5
triadic
#843BB2 #B2843B #3BB284
tetradic
#843BB2 #B2493B #69B23B #3BA5B2
square
#843BB2 #B2493B #69B23B #3BA5B2
split-complementary
#843BB2 #A5B23B #3BB249
monochromatic
#401D56 #622C84 #843BB2 #A160CA #BC8EDA

Accessibility & contrast

On white

6.46
#843BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#843BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843BB2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843BB2#FFFFFF#000000##FFFFFF
##843BB21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#285FAF
Tritanopia (blue-blind)
#7D5471
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #843bb2;
/* rgb */ color: rgb(132, 59, 178);
/* oklch */ color: oklch(50.5% 0.185 309.5);
Tailwind
colors: {
  custom: {
    50: '#ac76ca',
    500: '#843bb2',
    950: '#000000',
  },
}
SCSS
$custom: #843bb2;
$custom-light: #ac76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#843bb2",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 276.807,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50526,
    "c": 0.18494,
    "h": 309.5
  },
  "luminance": 0.11248
}

Semantic roles & 50–950 ramp

primary
#843BB2
secondary
#9DC485
accent
#DA4E84
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #843BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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