#843FB3#843FB3

#843FB3 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.181 H 308.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#843FB3
RGBrgb(132, 63, 179)
HSLhsl(276, 48%, 47%)
HSVhsv(276, 65%, 70%)
CMYKcmyk(26.3%, 64.8%, 0%, 29.8%)
CIE-LABlab(40.76, 49.88, -49.86)
CIE-LCHlch(40.76, 70.53, 315.01°)
OKLaboklab(51.1% 0.1129 -0.1409)
OKLCHoklch(51.1% 0.181 308.7)
XYZxyz(19.4283, 11.7155, 43.8769)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FB3 #6EB33F
analogous
#4A3FB3 #843FB3 #B33FA8
triadic
#843FB3 #B3843F #3FB384
tetradic
#843FB3 #B34A3F #6EB33F #3FA8B3
square
#843FB3 #B34A3F #6EB33F #3FA8B3
split-complementary
#843FB3 #A8B33F #3FB34A
monochromatic
#411F58 #632F86 #843FB3 #A166C9 #BD93D9

Accessibility & contrast

On white

6.28
#843FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#843FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843FB3
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843FB3#FFFFFF#000000##FFFFFF
##843FB31.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#2C61B0
Tritanopia (blue-blind)
#7D5773
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #843fb3;
/* rgb */ color: rgb(132, 63, 179);
/* oklch */ color: oklch(51.1% 0.181 308.7);
Tailwind
colors: {
  custom: {
    50: '#ab78ca',
    500: '#843fb3',
    950: '#000000',
  },
}
SCSS
$custom: #843fb3;
$custom-light: #ab78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#843fb3",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 275.69,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51098,
    "c": 0.18052,
    "h": 308.7
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

primary
#843FB3
secondary
#A1C489
accent
#D85087
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #843FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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