#843EC3#843EC3

#843EC3 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.1% C 0.199 H 304.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#843EC3
RGBrgb(132, 62, 195)
HSLhsl(272, 53%, 50%)
HSVhsv(272, 68%, 76%)
CMYKcmyk(32.3%, 68.2%, 0%, 23.5%)
CIE-LABlab(41.67, 54.09, -57.77)
CIE-LCHlch(41.67, 79.14, 313.11°)
OKLaboklab(52.1% 0.1125 -0.1641)
OKLCHoklch(52.1% 0.199 304.4)
XYZxyz(21.0864, 12.2910, 52.8807)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843EC3 #7DC33E
analogous
#413EC3 #843EC3 #C33EBF
triadic
#843EC3 #C3843E #3EC384
tetradic
#843EC3 #C3413E #7DC33E #3EBFC3
square
#843EC3 #C3413E #7DC33E #3EBFC3
split-complementary
#843EC3 #BFC33E #3EC341
monochromatic
#452067 #652E95 #843EC3 #A26DD2 #C09BE0

Accessibility & contrast

On white

6.07
#843EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#843EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843EC3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843EC3#FFFFFF#000000##FFFFFF
##843EC31.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0662C0
Tritanopia (blue-blind)
#785C7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #843ec3;
/* rgb */ color: rgb(132, 62, 195);
/* oklch */ color: oklch(52.1% 0.199 304.4);
Tailwind
colors: {
  custom: {
    50: '#ad78d6',
    500: '#843ec3',
    950: '#000000',
  },
}
SCSS
$custom: #843ec3;
$custom-light: #ad78d6;
$custom-dark: #000000;
JSON
{
  "hex": "#843ec3",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 271.579,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52101,
    "c": 0.19895,
    "h": 304.4
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#843EC3
secondary
#ADCC91
accent
#DC4C90
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #843EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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