#843CB7#843CB7

#843CB7 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.189 H 307.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#843CB7
RGBrgb(132, 60, 183)
HSLhsl(275, 51%, 48%)
HSVhsv(275, 67%, 72%)
CMYKcmyk(27.9%, 67.2%, 0%, 28.2%)
CIE-LABlab(40.50, 52.24, -52.64)
CIE-LCHlch(40.50, 74.16, 314.78°)
OKLaboklab(51% 0.116 -0.149)
OKLCHoklch(51% 0.189 307.9)
XYZxyz(19.6771, 11.5564, 45.9846)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CB7 #6FB73C
analogous
#473CB7 #843CB7 #B73CAC
triadic
#843CB7 #B7843C #3CB784
tetradic
#843CB7 #B7473C #6FB73C #3CACB7
square
#843CB7 #B7473C #6FB73C #3CACB7
split-complementary
#843CB7 #ACB73C #3CB747
monochromatic
#421E5B #632D89 #843CB7 #A164CC #BD92DB

Accessibility & contrast

On white

6.34
#843CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#843CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CB7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CB7#FFFFFF#000000##FFFFFF
##843CB71.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#2260B4
Tritanopia (blue-blind)
#7C5674
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #843cb7;
/* rgb */ color: rgb(132, 60, 183);
/* oklch */ color: oklch(51.0% 0.189 307.9);
Tailwind
colors: {
  custom: {
    50: '#ac77cd',
    500: '#843cb7',
    950: '#000000',
  },
}
SCSS
$custom: #843cb7;
$custom-light: #ac77cd;
$custom-dark: #000000;
JSON
{
  "hex": "#843cb7",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 275.122,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50997,
    "c": 0.18885,
    "h": 307.9
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

primary
#843CB7
secondary
#A2C688
accent
#DA4E88
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #843CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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