#843CBA#843CBA

#843CBA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.192 H 307.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#843CBA
RGBrgb(132, 60, 186)
HSLhsl(274, 51%, 48%)
HSVhsv(274, 68%, 73%)
CMYKcmyk(29%, 67.7%, 0%, 27.1%)
CIE-LABlab(40.71, 52.93, -54.07)
CIE-LCHlch(40.71, 75.66, 314.39°)
OKLaboklab(51.21% 0.1157 -0.1532)
OKLCHoklch(51.21% 0.192 307.1)
XYZxyz(19.9926, 11.6827, 47.6466)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CBA #72BA3C
analogous
#453CBA #843CBA #BA3CB1
triadic
#843CBA #BA843C #3CBA84
tetradic
#843CBA #BA453C #72BA3C #3CB1BA
square
#843CBA #BA453C #72BA3C #3CB1BA
split-complementary
#843CBA #B1BA3C #3CBA45
monochromatic
#421E5D #632D8C #843CBA #A166CE #BD94DC

Accessibility & contrast

On white

6.29
#843CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #843CBA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CBA#FFFFFF#000000##FFFFFF
##843CBA1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #843cba;
/* rgb */ color: rgb(132, 60, 186);
/* oklch */ color: oklch(51.2% 0.192 307.1);
Tailwind
colors: {
  custom: {
    50: '#ac77cf',
    500: '#843cba',
    950: '#000000',
  },
}
SCSS
$custom: #843cba;
$custom-light: #ac77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#843cba",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 274.286,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51209,
    "c": 0.192,
    "h": 307.1
  },
  "luminance": 0.11682
}

Semantic roles & 50–950 ramp

primary
#843CBA
secondary
#A4C88A
accent
#DB4D8A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #843CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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