#843EB3#843EB3

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

Color values

HEX#843EB3
RGBrgb(132, 62, 179)
HSLhsl(276, 49%, 47%)
HSVhsv(276, 65%, 70%)
CMYKcmyk(26.3%, 65.4%, 0%, 29.8%)
CIE-LABlab(40.58, 50.37, -50.15)
CIE-LCHlch(40.58, 71.07, 315.12°)
OKLaboklab(50.97% 0.1141 -0.1417)
OKLCHoklch(50.97% 0.182 308.8)
XYZxyz(19.3734, 11.6058, 43.8586)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843EB3 #6DB33E
analogous
#493EB3 #843EB3 #B33EA8
triadic
#843EB3 #B3843E #3EB384
tetradic
#843EB3 #B3493E #6DB33E #3EA8B3
square
#843EB3 #B3493E #6DB33E #3EA8B3
split-complementary
#843EB3 #A8B33E #3EB349
monochromatic
#411F58 #622E86 #843EB3 #A165CA #BD92D9

Accessibility & contrast

On white

6.32
#843EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#843EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843EB3
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843EB3#FFFFFF#000000##FFFFFF
##843EB31.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#2A61B0
Tritanopia (blue-blind)
#7D5673
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #843eb3;
/* rgb */ color: rgb(132, 62, 179);
/* oklch */ color: oklch(51.0% 0.182 308.8);
Tailwind
colors: {
  custom: {
    50: '#ab78ca',
    500: '#843eb3',
    950: '#000000',
  },
}
SCSS
$custom: #843eb3;
$custom-light: #ab78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#843eb3",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 275.897,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5097,
    "c": 0.18191,
    "h": 308.8
  },
  "luminance": 0.11605
}

Semantic roles & 50–950 ramp

primary
#843EB3
secondary
#A0C588
accent
#D85086
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #843EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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