#843CB6#843CB6

#843CB6 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.188 H 308.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#843CB6
RGBrgb(132, 60, 182)
HSLhsl(275, 50%, 47%)
HSVhsv(275, 67%, 71%)
CMYKcmyk(27.5%, 67%, 0%, 28.6%)
CIE-LABlab(40.43, 52.01, -52.16)
CIE-LCHlch(40.43, 73.66, 314.92°)
OKLaboklab(50.93% 0.1161 -0.1476)
OKLCHoklch(50.93% 0.188 308.2)
XYZxyz(19.5733, 11.5149, 45.4384)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CB6 #6EB63C
analogous
#473CB6 #843CB6 #B63CAB
triadic
#843CB6 #B6843C #3CB684
tetradic
#843CB6 #B6473C #6EB63C #3CABB6
square
#843CB6 #B6473C #6EB63C #3CABB6
split-complementary
#843CB6 #ABB63C #3CB647
monochromatic
#411E5A #632D88 #843CB6 #A163CC #BD91DB

Accessibility & contrast

On white

6.36
#843CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#843CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CB6
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CB6#FFFFFF#000000##FFFFFF
##843CB61.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#2360B3
Tritanopia (blue-blind)
#7C5674
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #843cb6;
/* rgb */ color: rgb(132, 60, 182);
/* oklch */ color: oklch(50.9% 0.188 308.2);
Tailwind
colors: {
  custom: {
    50: '#ac77cd',
    500: '#843cb6',
    950: '#000000',
  },
}
SCSS
$custom: #843cb6;
$custom-light: #ac77cd;
$custom-dark: #000000;
JSON
{
  "hex": "#843cb6",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 275.41,
    "s": 50.413,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50927,
    "c": 0.1878,
    "h": 308.2
  },
  "luminance": 0.11515
}

Semantic roles & 50–950 ramp

primary
#843CB6
secondary
#A1C688
accent
#DA4E87
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #843CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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