#843CAC#843CAC

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

Color values

HEX#843CAC
RGBrgb(132, 60, 172)
HSLhsl(279, 48%, 45%)
HSVhsv(279, 65%, 67%)
CMYKcmyk(23.3%, 65.1%, 0%, 32.5%)
CIE-LABlab(39.78, 49.75, -47.30)
CIE-LCHlch(39.78, 68.65, 316.45°)
OKLaboklab(50.24% 0.1168 -0.1333)
OKLCHoklch(50.24% 0.177 311.2)
XYZxyz(18.5766, 11.1162, 40.1888)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CAC #64AC3C
analogous
#4C3CAC #843CAC #AC3C9C
triadic
#843CAC #AC843C #3CAC84
tetradic
#843CAC #AC4C3C #64AC3C #3C9CAC
square
#843CAC #AC4C3C #64AC3C #3C9CAC
split-complementary
#843CAC #9CAC3C #3CAC4C
monochromatic
#3E1C51 #612C7F #843CAC #A25EC7 #BC8CD7

Accessibility & contrast

On white

6.52
#843CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#843CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CAC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CAC#FFFFFF#000000##FFFFFF
##843CAC1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#305FA9
Tritanopia (blue-blind)
#7F526F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #843cac;
/* rgb */ color: rgb(132, 60, 172);
/* oklch */ color: oklch(50.2% 0.177 311.2);
Tailwind
colors: {
  custom: {
    50: '#ab76c5',
    500: '#843cac',
    950: '#000000',
  },
}
SCSS
$custom: #843cac;
$custom-light: #ab76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#843cac",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 278.571,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50243,
    "c": 0.17729,
    "h": 311.2
  },
  "luminance": 0.11116
}

Semantic roles & 50–950 ramp

primary
#843CAC
secondary
#99C182
accent
#D85080
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #843CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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