#843EC2#843EC2

#843EC2 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 52.0% C 0.198 H 304.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#843EC2
RGBrgb(132, 62, 194)
HSLhsl(272, 52%, 50%)
HSVhsv(272, 68%, 76%)
CMYKcmyk(32%, 68%, 0%, 23.9%)
CIE-LABlab(41.60, 53.85, -57.30)
CIE-LCHlch(41.60, 78.63, 313.22°)
OKLaboklab(52.03% 0.1126 -0.1627)
OKLCHoklch(52.03% 0.198 304.7)
XYZxyz(20.9738, 12.2459, 52.2872)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843EC2 #7CC23E
analogous
#423EC2 #843EC2 #C23EBE
triadic
#843EC2 #C2843E #3EC284
tetradic
#843EC2 #C2423E #7CC23E #3EBEC2
square
#843EC2 #C2423E #7CC23E #3EBEC2
split-complementary
#843EC2 #BEC23E #3EC242
monochromatic
#452066 #642F94 #843EC2 #A26DD1 #BF9BDF

Accessibility & contrast

On white

6.09
#843EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#843EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843EC2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843EC2#FFFFFF#000000##FFFFFF
##843EC21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0B62BF
Tritanopia (blue-blind)
#795C7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #843ec2;
/* rgb */ color: rgb(132, 62, 194);
/* oklch */ color: oklch(52.0% 0.198 304.7);
Tailwind
colors: {
  custom: {
    50: '#ad78d5',
    500: '#843ec2',
    950: '#000000',
  },
}
SCSS
$custom: #843ec2;
$custom-light: #ad78d5;
$custom-dark: #000000;
JSON
{
  "hex": "#843ec2",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 271.818,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52028,
    "c": 0.19789,
    "h": 304.7
  },
  "luminance": 0.12246
}

Semantic roles & 50–950 ramp

primary
#843EC2
secondary
#ACCB90
accent
#DB4C90
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #843EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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