#843BC4#843BC4

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

Color values

HEX#843BC4
RGBrgb(132, 59, 196)
HSLhsl(272, 54%, 50%)
HSVhsv(272, 70%, 77%)
CMYKcmyk(32.7%, 69.9%, 0%, 23.1%)
CIE-LABlab(41.25, 55.72, -59.05)
CIE-LCHlch(41.25, 81.18, 313.34°)
OKLaboklab(51.82% 0.1155 -0.1678)
OKLCHoklch(51.82% 0.204 304.5)
XYZxyz(21.0412, 12.0191, 53.4253)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BC4 #7BC43B
analogous
#403BC4 #843BC4 #C43BBF
triadic
#843BC4 #C4843B #3BC484
tetradic
#843BC4 #C4403B #7BC43B #3BBFC4
square
#843BC4 #C4403B #7BC43B #3BBFC4
split-complementary
#843BC4 #BFC43B #3BC440
monochromatic
#451F66 #642D95 #843BC4 #A26AD2 #BF99E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##843BC4#FFFFFF#000000##FFFFFF
##843BC41.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)
#005FC8
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#785B7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #843bc4;
/* rgb */ color: rgb(132, 59, 196);
/* oklch */ color: oklch(51.8% 0.204 304.5);
Tailwind
colors: {
  custom: {
    50: '#ad77d7',
    500: '#843bc4',
    950: '#000000',
  },
}
SCSS
$custom: #843bc4;
$custom-light: #ad77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#843bc4",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 271.971,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.51818,
    "c": 0.20374,
    "h": 304.5
  },
  "luminance": 0.12019
}

Semantic roles & 50–950 ramp

primary
#843BC4
secondary
#ABCC8F
accent
#DD4B8F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #843BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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