#843EB4#843EB4

#843EB4 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.183 H 308.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#843EB4
RGBrgb(132, 62, 180)
HSLhsl(276, 49%, 47%)
HSVhsv(276, 66%, 71%)
CMYKcmyk(26.7%, 65.6%, 0%, 29.4%)
CIE-LABlab(40.65, 50.59, -50.63)
CIE-LCHlch(40.65, 71.58, 314.98°)
OKLaboklab(51.04% 0.114 -0.1431)
OKLCHoklch(51.04% 0.183 308.5)
XYZxyz(19.4749, 11.6464, 44.3932)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843EB4 #6EB43E
analogous
#493EB4 #843EB4 #B43EA9
triadic
#843EB4 #B4843E #3EB484
tetradic
#843EB4 #B4493E #6EB43E #3EA9B4
square
#843EB4 #B4493E #6EB43E #3EA9B4
split-complementary
#843EB4 #A9B43E #3EB449
monochromatic
#411F59 #632E86 #843EB4 #A165CA #BD93DA

Accessibility & contrast

On white

6.31
#843EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#843EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843EB4
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843EB4#FFFFFF#000000##FFFFFF
##843EB41.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#2961B1
Tritanopia (blue-blind)
#7D5674
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #843eb4;
/* rgb */ color: rgb(132, 62, 180);
/* oklch */ color: oklch(51.0% 0.183 308.5);
Tailwind
colors: {
  custom: {
    50: '#ac78cb',
    500: '#843eb4',
    950: '#000000',
  },
}
SCSS
$custom: #843eb4;
$custom-light: #ac78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#843eb4",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 275.593,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.18298,
    "h": 308.5
  },
  "luminance": 0.11646
}

Semantic roles & 50–950 ramp

primary
#843EB4
secondary
#A1C589
accent
#D84F87
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #843EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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