#843EB2#843EB2

#843EB2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.9% C 0.181 H 309.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#843EB2
RGBrgb(132, 62, 178)
HSLhsl(276, 48%, 47%)
HSVhsv(276, 65%, 70%)
CMYKcmyk(25.8%, 65.2%, 0%, 30.2%)
CIE-LABlab(40.52, 50.14, -49.66)
CIE-LCHlch(40.52, 70.57, 315.27°)
OKLaboklab(50.9% 0.1141 -0.1403)
OKLCHoklch(50.9% 0.181 309.1)
XYZxyz(19.2726, 11.5655, 43.3279)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843EB2 #6CB23E
analogous
#4A3EB2 #843EB2 #B23EA6
triadic
#843EB2 #B2843E #3EB284
tetradic
#843EB2 #B24A3E #6CB23E #3EA6B2
square
#843EB2 #B24A3E #6CB23E #3EA6B2
split-complementary
#843EB2 #A6B23E #3EB24A
monochromatic
#411E57 #622E85 #843EB2 #A164C9 #BD92D9

Accessibility & contrast

On white

6.34
#843EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#843EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843EB2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843EB2#FFFFFF#000000##FFFFFF
##843EB21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#2C60AF
Tritanopia (blue-blind)
#7D5672
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #843eb2;
/* rgb */ color: rgb(132, 62, 178);
/* oklch */ color: oklch(50.9% 0.181 309.1);
Tailwind
colors: {
  custom: {
    50: '#ab78ca',
    500: '#843eb2',
    950: '#000000',
  },
}
SCSS
$custom: #843eb2;
$custom-light: #ab78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#843eb2",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 276.207,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50902,
    "c": 0.18085,
    "h": 309.1
  },
  "luminance": 0.11565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #843EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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