#843AC6#843AC6

#843AC6 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.207 H 304.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#843AC6
RGBrgb(132, 58, 198)
HSLhsl(272, 55%, 50%)
HSVhsv(272, 71%, 78%)
CMYKcmyk(33.3%, 70.7%, 0%, 22.4%)
CIE-LABlab(41.23, 56.64, -60.24)
CIE-LCHlch(41.23, 82.68, 313.24°)
OKLaboklab(51.85% 0.1162 -0.1713)
OKLCHoklch(51.85% 0.207 304.1)
XYZxyz(21.2195, 12.0089, 54.6152)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843AC6 #7CC63A
analogous
#3E3AC6 #843AC6 #C63AC2
triadic
#843AC6 #C6843A #3AC684
tetradic
#843AC6 #C63E3A #7CC63A #3AC2C6
square
#843AC6 #C63E3A #7CC63A #3AC2C6
split-complementary
#843AC6 #C2C63A #3AC63E
monochromatic
#451E68 #642C97 #843AC6 #A269D4 #BF99E1

Accessibility & contrast

On white

6.17
#843AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#843AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843AC6
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843AC6#FFFFFF#000000##FFFFFF
##843AC61.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#775B7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #843ac6;
/* rgb */ color: rgb(132, 58, 198);
/* oklch */ color: oklch(51.9% 0.207 304.1);
Tailwind
colors: {
  custom: {
    50: '#ad76d8',
    500: '#843ac6',
    950: '#000000',
  },
}
SCSS
$custom: #843ac6;
$custom-light: #ad76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#843ac6",
  "rgb": {
    "r": 132,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 271.714,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51852,
    "c": 0.20701,
    "h": 304.1
  },
  "luminance": 0.12009
}

Semantic roles & 50–950 ramp

primary
#843AC6
secondary
#ACCD8F
accent
#DE4990
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #843AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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