#843BC5#843BC5

#843BC5 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.205 H 304.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#843BC5
RGBrgb(132, 59, 197)
HSLhsl(272, 54%, 50%)
HSVhsv(272, 70%, 77%)
CMYKcmyk(33%, 70.1%, 0%, 22.7%)
CIE-LABlab(41.32, 55.95, -59.51)
CIE-LCHlch(41.32, 81.68, 313.23°)
OKLaboklab(51.89% 0.1153 -0.1692)
OKLCHoklch(51.89% 0.205 304.3)
XYZxyz(21.1554, 12.0648, 54.0267)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BC5 #7CC53B
analogous
#3F3BC5 #843BC5 #C53BC1
triadic
#843BC5 #C5843B #3BC584
tetradic
#843BC5 #C53F3B #7CC53B #3BC1C5
square
#843BC5 #C53F3B #7CC53B #3BC1C5
split-complementary
#843BC5 #C1C53B #3BC53F
monochromatic
#451F67 #642C96 #843BC5 #A26AD3 #BF99E1

Accessibility & contrast

On white

6.15
#843BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#843BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843BC5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843BC5#FFFFFF#000000##FFFFFF
##843BC51.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#785B7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #843bc5;
/* rgb */ color: rgb(132, 59, 197);
/* oklch */ color: oklch(51.9% 0.205 304.3);
Tailwind
colors: {
  custom: {
    50: '#ad77d7',
    500: '#843bc5',
    950: '#000000',
  },
}
SCSS
$custom: #843bc5;
$custom-light: #ad77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#843bc5",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 271.739,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51892,
    "c": 0.20478,
    "h": 304.3
  },
  "luminance": 0.12065
}

Semantic roles & 50–950 ramp

primary
#843BC5
secondary
#ACCD8F
accent
#DE4A90
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #843BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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