#843EC0#843EC0

#843EC0 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.196 H 305.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#843EC0
RGBrgb(132, 62, 192)
HSLhsl(272, 51%, 50%)
HSVhsv(272, 68%, 75%)
CMYKcmyk(31.2%, 67.7%, 0%, 24.7%)
CIE-LABlab(41.46, 53.38, -56.36)
CIE-LCHlch(41.46, 77.63, 313.44°)
OKLaboklab(51.88% 0.1129 -0.16)
OKLCHoklch(51.88% 0.196 305.2)
XYZxyz(20.7507, 12.1567, 51.1122)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843EC0 #7AC03E
analogous
#433EC0 #843EC0 #C03EBB
triadic
#843EC0 #C0843E #3EC084
tetradic
#843EC0 #C0433E #7AC03E #3EBBC0
square
#843EC0 #C0433E #7AC03E #3EBBC0
split-complementary
#843EC0 #BBC03E #3EC043
monochromatic
#442063 #642F92 #843EC0 #A16CCF #BF9ADE

Accessibility & contrast

On white

6.12
#843EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#843EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843EC0
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843EC0#FFFFFF#000000##FFFFFF
##843EC01.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#1262BD
Tritanopia (blue-blind)
#795B7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #843ec0;
/* rgb */ color: rgb(132, 62, 192);
/* oklch */ color: oklch(51.9% 0.196 305.2);
Tailwind
colors: {
  custom: {
    50: '#ac78d4',
    500: '#843ec0',
    950: '#000000',
  },
}
SCSS
$custom: #843ec0;
$custom-light: #ac78d4;
$custom-dark: #000000;
JSON
{
  "hex": "#843ec0",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 272.308,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51883,
    "c": 0.19576,
    "h": 305.2
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#843EC0
secondary
#ABCA8F
accent
#DB4D8E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #843EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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