#843BC2#843BC2

#843BC2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.202 H 305.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#843BC2
RGBrgb(132, 59, 194)
HSLhsl(272, 53%, 50%)
HSVhsv(272, 70%, 76%)
CMYKcmyk(32%, 69.6%, 0%, 23.9%)
CIE-LABlab(41.10, 55.25, -58.11)
CIE-LCHlch(41.10, 80.19, 313.55°)
OKLaboklab(51.67% 0.1158 -0.1651)
OKLCHoklch(51.67% 0.202 305)
XYZxyz(20.8151, 11.9286, 52.2344)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BC2 #79C23B
analogous
#403BC2 #843BC2 #C23BBD
triadic
#843BC2 #C2843B #3BC284
tetradic
#843BC2 #C2403B #79C23B #3BBDC2
square
#843BC2 #C2403B #79C23B #3BBDC2
split-complementary
#843BC2 #BDC23B #3BC240
monochromatic
#441E64 #642D93 #843BC2 #A169D1 #BF98E0

Accessibility & contrast

On white

6.20
#843BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#843BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843BC2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843BC2#FFFFFF#000000##FFFFFF
##843BC21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#795A7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #843bc2;
/* rgb */ color: rgb(132, 59, 194);
/* oklch */ color: oklch(51.7% 0.202 305.0);
Tailwind
colors: {
  custom: {
    50: '#ad77d5',
    500: '#843bc2',
    950: '#000000',
  },
}
SCSS
$custom: #843bc2;
$custom-light: #ad77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#843bc2",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 272.444,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5167,
    "c": 0.20165,
    "h": 305
  },
  "luminance": 0.11929
}

Semantic roles & 50–950 ramp

primary
#843BC2
secondary
#AACB8E
accent
#DD4B8E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #843BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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