#843BBA#843BBA

#843BBA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.193 H 307.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#843BBA
RGBrgb(132, 59, 186)
HSLhsl(274, 52%, 48%)
HSVhsv(274, 68%, 73%)
CMYKcmyk(29%, 68.3%, 0%, 27.1%)
CIE-LABlab(40.54, 53.40, -54.34)
CIE-LCHlch(40.54, 76.19, 314.50°)
OKLaboklab(51.09% 0.1168 -0.154)
OKLCHoklch(51.09% 0.193 307.2)
XYZxyz(19.9407, 11.5789, 47.6293)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BBA #71BA3B
analogous
#443BBA #843BBA #BA3BB0
triadic
#843BBA #BA843B #3BBA84
tetradic
#843BBA #BA443B #71BA3B #3BB0BA
square
#843BBA #BA443B #71BA3B #3BB0BA
split-complementary
#843BBA #B0BA3B #3BBA44
monochromatic
#421E5D #632C8C #843BBA #A164CE #BD93DD

Accessibility & contrast

On white

6.33
#843BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #843BBA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843BBA#FFFFFF#000000##FFFFFF
##843BBA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#1A60B7
Tritanopia (blue-blind)
#7B5776
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #843bba;
/* rgb */ color: rgb(132, 59, 186);
/* oklch */ color: oklch(51.1% 0.193 307.2);
Tailwind
colors: {
  custom: {
    50: '#ac76cf',
    500: '#843bba',
    950: '#000000',
  },
}
SCSS
$custom: #843bba;
$custom-light: #ac76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#843bba",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 274.488,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51089,
    "c": 0.1933,
    "h": 307.2
  },
  "luminance": 0.11579
}

Semantic roles & 50–950 ramp

primary
#843BBA
secondary
#A4C889
accent
#DB4D89
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #843BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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