#843BB3#843BB3

#843BB3 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.186 H 309.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#843BB3
RGBrgb(132, 59, 179)
HSLhsl(277, 50%, 47%)
HSVhsv(277, 67%, 70%)
CMYKcmyk(26.3%, 67%, 0%, 29.8%)
CIE-LABlab(40.06, 51.80, -50.99)
CIE-LCHlch(40.06, 72.69, 315.46°)
OKLaboklab(50.6% 0.1175 -0.1442)
OKLCHoklch(50.6% 0.186 309.2)
XYZxyz(19.2147, 11.2885, 43.8058)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BB3 #6AB33B
analogous
#483BB3 #843BB3 #B33BA6
triadic
#843BB3 #B3843B #3BB384
tetradic
#843BB3 #B3483B #6AB33B #3BA6B3
square
#843BB3 #B3483B #6AB33B #3BA6B3
split-complementary
#843BB3 #A6B33B #3BB348
monochromatic
#401D57 #622C85 #843BB3 #A160CB #BC8EDA

Accessibility & contrast

On white

6.45
#843BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#843BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843BB3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843BB3#FFFFFF#000000##FFFFFF
##843BB31.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#7D5472
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #843bb3;
/* rgb */ color: rgb(132, 59, 179);
/* oklch */ color: oklch(50.6% 0.186 309.2);
Tailwind
colors: {
  custom: {
    50: '#ac76ca',
    500: '#843bb3',
    950: '#000000',
  },
}
SCSS
$custom: #843bb3;
$custom-light: #ac76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#843bb3",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 276.5,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50596,
    "c": 0.18599,
    "h": 309.2
  },
  "luminance": 0.11288
}

Semantic roles & 50–950 ramp

primary
#843BB3
secondary
#9EC585
accent
#DA4E85
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #843BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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