#843FC4#843FC4

#843FC4 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.3% C 0.199 H 304.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#843FC4
RGBrgb(132, 63, 196)
HSLhsl(271, 53%, 51%)
HSVhsv(271, 68%, 77%)
CMYKcmyk(32.7%, 67.9%, 0%, 23.1%)
CIE-LABlab(41.92, 53.85, -57.96)
CIE-LCHlch(41.92, 79.11, 312.89°)
OKLaboklab(52.3% 0.1113 -0.1647)
OKLCHoklch(52.3% 0.199 304.1)
XYZxyz(21.2548, 12.4461, 53.4964)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FC4 #7FC43F
analogous
#413FC4 #843FC4 #C43FC1
triadic
#843FC4 #C4843F #3FC484
tetradic
#843FC4 #C4413F #7FC43F #3FC1C4
square
#843FC4 #C4413F #7FC43F #3FC1C4
split-complementary
#843FC4 #C1C43F #3FC441
monochromatic
#462068 #652E97 #843FC4 #A26ED2 #C09DE1

Accessibility & contrast

On white

6.02
#843FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#843FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843FC4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843FC4#FFFFFF#000000##FFFFFF
##843FC41.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0663C1
Tritanopia (blue-blind)
#785D7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #843fc4;
/* rgb */ color: rgb(132, 63, 196);
/* oklch */ color: oklch(52.3% 0.199 304.1);
Tailwind
colors: {
  custom: {
    50: '#ad79d7',
    500: '#843fc4',
    950: '#000000',
  },
}
SCSS
$custom: #843fc4;
$custom-light: #ad79d7;
$custom-dark: #000000;
JSON
{
  "hex": "#843fc4",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 271.128,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52296,
    "c": 0.19875,
    "h": 304.1
  },
  "luminance": 0.12446
}

Semantic roles & 50–950 ramp

primary
#843FC4
secondary
#AECD92
accent
#DC4B91
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #843FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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