#843BB7#843BB7

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

Color values

HEX#843BB7
RGBrgb(132, 59, 183)
HSLhsl(275, 51%, 47%)
HSVhsv(275, 68%, 72%)
CMYKcmyk(27.9%, 67.8%, 0%, 28.2%)
CIE-LABlab(40.33, 52.71, -52.91)
CIE-LCHlch(40.33, 74.69, 314.89°)
OKLaboklab(50.88% 0.1171 -0.1498)
OKLCHoklch(50.88% 0.19 308)
XYZxyz(19.6252, 11.4526, 45.9673)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BB7 #6EB73B
analogous
#463BB7 #843BB7 #B73BAC
triadic
#843BB7 #B7843B #3BB784
tetradic
#843BB7 #B7463B #6EB73B #3BACB7
square
#843BB7 #B7463B #6EB73B #3BACB7
split-complementary
#843BB7 #ACB73B #3BB746
monochromatic
#411D5A #632C89 #843BB7 #A163CD #BD91DC

Accessibility & contrast

On white

6.38
#843BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #843BB7
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843BB7#FFFFFF#000000##FFFFFF
##843BB71.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #843bb7;
/* rgb */ color: rgb(132, 59, 183);
/* oklch */ color: oklch(50.9% 0.190 308.0);
Tailwind
colors: {
  custom: {
    50: '#ac76cd',
    500: '#843bb7',
    950: '#000000',
  },
}
SCSS
$custom: #843bb7;
$custom-light: #ac76cd;
$custom-dark: #000000;
JSON
{
  "hex": "#843bb7",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 275.323,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50876,
    "c": 0.19016,
    "h": 308
  },
  "luminance": 0.11452
}

Semantic roles & 50–950 ramp

primary
#843BB7
secondary
#A1C687
accent
#DB4D87
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #843BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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