#843BAD#843BAD

#843BAD is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.180 H 311.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#843BAD
RGBrgb(132, 59, 173)
HSLhsl(278, 49%, 45%)
HSVhsv(278, 66%, 68%)
CMYKcmyk(23.7%, 65.9%, 0%, 32.2%)
CIE-LABlab(39.67, 50.46, -48.07)
CIE-LCHlch(39.67, 69.69, 316.39°)
OKLaboklab(50.19% 0.118 -0.1356)
OKLCHoklch(50.19% 0.18 311)
XYZxyz(18.6211, 11.0510, 40.6792)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BAD #64AD3B
analogous
#4B3BAD #843BAD #AD3B9D
triadic
#843BAD #AD843B #3BAD84
tetradic
#843BAD #AD4B3B #64AD3B #3B9DAD
square
#843BAD #AD4B3B #64AD3B #3B9DAD
split-complementary
#843BAD #9DAD3B #3BAD4B
monochromatic
#3E1C52 #612B7F #843BAD #A25DC8 #BC8BD7

Accessibility & contrast

On white

6.54
#843BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#843BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843BAD
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843BAD#FFFFFF#000000##FFFFFF
##843BAD1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#2E5FAA
Tritanopia (blue-blind)
#7F526F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #843bad;
/* rgb */ color: rgb(132, 59, 173);
/* oklch */ color: oklch(50.2% 0.180 311.0);
Tailwind
colors: {
  custom: {
    50: '#ab76c6',
    500: '#843bad',
    950: '#000000',
  },
}
SCSS
$custom: #843bad;
$custom-light: #ab76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#843bad",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 278.421,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50185,
    "c": 0.17973,
    "h": 311
  },
  "luminance": 0.11051
}

Semantic roles & 50–950 ramp

primary
#843BAD
secondary
#99C282
accent
#D94F81
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #843BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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