#843CB9#843CB9

#843CB9 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.1% C 0.191 H 307.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#843CB9
RGBrgb(132, 60, 185)
HSLhsl(275, 51%, 48%)
HSVhsv(275, 68%, 73%)
CMYKcmyk(28.6%, 67.6%, 0%, 27.5%)
CIE-LABlab(40.64, 52.70, -53.59)
CIE-LCHlch(40.64, 75.16, 314.52°)
OKLaboklab(51.14% 0.1158 -0.1518)
OKLCHoklch(51.14% 0.191 307.3)
XYZxyz(19.8867, 11.6403, 47.0887)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CB9 #71B93C
analogous
#463CB9 #843CB9 #B93CAF
triadic
#843CB9 #B9843C #3CB984
tetradic
#843CB9 #B9463C #71B93C #3CAFB9
square
#843CB9 #B9463C #71B93C #3CAFB9
split-complementary
#843CB9 #AFB93C #3CB946
monochromatic
#421E5D #632D8B #843CB9 #A165CD #BD93DC

Accessibility & contrast

On white

6.31
#843CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#843CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CB9
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CB9#FFFFFF#000000##FFFFFF
##843CB91.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#1E60B6
Tritanopia (blue-blind)
#7B5776
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #843cb9;
/* rgb */ color: rgb(132, 60, 185);
/* oklch */ color: oklch(51.1% 0.191 307.3);
Tailwind
colors: {
  custom: {
    50: '#ac77cf',
    500: '#843cb9',
    950: '#000000',
  },
}
SCSS
$custom: #843cb9;
$custom-light: #ac77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#843cb9",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 274.56,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51138,
    "c": 0.19095,
    "h": 307.3
  },
  "luminance": 0.1164
}

Semantic roles & 50–950 ramp

primary
#843CB9
secondary
#A4C789
accent
#DA4D89
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #843CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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