#843CB0#843CB0

#843CB0 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.181 H 310.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#843CB0
RGBrgb(132, 60, 176)
HSLhsl(277, 49%, 46%)
HSVhsv(277, 66%, 69%)
CMYKcmyk(25%, 65.9%, 0%, 31%)
CIE-LABlab(40.04, 50.65, -49.26)
CIE-LCHlch(40.04, 70.65, 315.80°)
OKLaboklab(50.51% 0.1166 -0.1391)
OKLCHoklch(50.51% 0.181 310)
XYZxyz(18.9665, 11.2722, 42.2425)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CB0 #68B03C
analogous
#4A3CB0 #843CB0 #B03CA2
triadic
#843CB0 #B0843C #3CB084
tetradic
#843CB0 #B04A3C #68B03C #3CA2B0
square
#843CB0 #B04A3C #68B03C #3CA2B0
split-complementary
#843CB0 #A2B03C #3CB04A
monochromatic
#401D55 #622C82 #843CB0 #A160C9 #BC8ED8

Accessibility & contrast

On white

6.45
#843CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#843CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CB0
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CB0#FFFFFF#000000##FFFFFF
##843CB01.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#2C5FAD
Tritanopia (blue-blind)
#7E5471
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #843cb0;
/* rgb */ color: rgb(132, 60, 176);
/* oklch */ color: oklch(50.5% 0.181 310.0);
Tailwind
colors: {
  custom: {
    50: '#ab77c8',
    500: '#843cb0',
    950: '#000000',
  },
}
SCSS
$custom: #843cb0;
$custom-light: #ab77c8;
$custom-dark: #000000;
JSON
{
  "hex": "#843cb0",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 176
  },
  "hsl": {
    "h": 277.241,
    "s": 49.153,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50513,
    "c": 0.18149,
    "h": 310
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#843CB0
secondary
#9CC385
accent
#D94F83
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #843CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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