#843CB4#843CB4

#843CB4 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.186 H 308.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#843CB4
RGBrgb(132, 60, 180)
HSLhsl(276, 50%, 47%)
HSVhsv(276, 67%, 71%)
CMYKcmyk(26.7%, 66.7%, 0%, 29.4%)
CIE-LABlab(40.30, 51.56, -51.19)
CIE-LCHlch(40.30, 72.66, 315.20°)
OKLaboklab(50.79% 0.1163 -0.1448)
OKLCHoklch(50.79% 0.186 308.8)
XYZxyz(19.3681, 11.4329, 44.3576)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CB4 #6CB43C
analogous
#483CB4 #843CB4 #B43CA8
triadic
#843CB4 #B4843C #3CB484
tetradic
#843CB4 #B4483C #6CB43C #3CA8B4
square
#843CB4 #B4483C #6CB43C #3CA8B4
split-complementary
#843CB4 #A8B43C #3CB448
monochromatic
#411D58 #622D86 #843CB4 #A162CB #BD90DA

Accessibility & contrast

On white

6.39
#843CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#843CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CB4
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CB4#FFFFFF#000000##FFFFFF
##843CB41.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#2660B1
Tritanopia (blue-blind)
#7D5573
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #843cb4;
/* rgb */ color: rgb(132, 60, 180);
/* oklch */ color: oklch(50.8% 0.186 308.8);
Tailwind
colors: {
  custom: {
    50: '#ac77cb',
    500: '#843cb4',
    950: '#000000',
  },
}
SCSS
$custom: #843cb4;
$custom-light: #ac77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#843cb4",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 276,
    "s": 50,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50788,
    "c": 0.18569,
    "h": 308.8
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#843CB4
secondary
#A0C587
accent
#DA4E86
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #843CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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