#843BB8#843BB8

#843BB8 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.191 H 307.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#843BB8
RGBrgb(132, 59, 184)
HSLhsl(275, 51%, 48%)
HSVhsv(275, 68%, 72%)
CMYKcmyk(28.3%, 67.9%, 0%, 27.8%)
CIE-LABlab(40.40, 52.94, -53.39)
CIE-LCHlch(40.40, 75.19, 314.76°)
OKLaboklab(50.95% 0.117 -0.1512)
OKLCHoklch(50.95% 0.191 307.7)
XYZxyz(19.7296, 11.4944, 46.5174)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BB8 #6FB83B
analogous
#463BB8 #843BB8 #B83BAD
triadic
#843BB8 #B8843B #3BB884
tetradic
#843BB8 #B8463B #6FB83B #3BADB8
square
#843BB8 #B8463B #6FB83B #3BADB8
split-complementary
#843BB8 #ADB83B #3BB846
monochromatic
#421D5B #632C8A #843BB8 #A163CD #BD92DC

Accessibility & contrast

On white

6.37
#843BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#843BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843BB8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843BB8#FFFFFF#000000##FFFFFF
##843BB81.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#1E60B5
Tritanopia (blue-blind)
#7C5675
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #843bb8;
/* rgb */ color: rgb(132, 59, 184);
/* oklch */ color: oklch(50.9% 0.191 307.7);
Tailwind
colors: {
  custom: {
    50: '#ac76ce',
    500: '#843bb8',
    950: '#000000',
  },
}
SCSS
$custom: #843bb8;
$custom-light: #ac76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#843bb8",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 275.04,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50946,
    "c": 0.19121,
    "h": 307.7
  },
  "luminance": 0.11494
}

Semantic roles & 50–950 ramp

primary
#843BB8
secondary
#A2C788
accent
#DB4D88
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #843BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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