#843CBE#843CBE

#843CBE is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.196 H 306.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#843CBE
RGBrgb(132, 60, 190)
HSLhsl(273, 52%, 49%)
HSVhsv(273, 68%, 75%)
CMYKcmyk(30.5%, 68.4%, 0%, 25.5%)
CIE-LABlab(40.98, 53.86, -55.97)
CIE-LCHlch(40.98, 77.67, 313.90°)
OKLaboklab(51.5% 0.1153 -0.1588)
OKLCHoklch(51.5% 0.196 306)
XYZxyz(20.4238, 11.8551, 49.9175)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CBE #76BE3C
analogous
#433CBE #843CBE #BE3CB7
triadic
#843CBE #BE843C #3CBE84
tetradic
#843CBE #BE433C #76BE3C #3CB7BE
square
#843CBE #BE433C #76BE3C #3CB7BE
split-complementary
#843CBE #B7BE3C #3CBE43
monochromatic
#431F61 #642D8F #843CBE #A168CF #BE96DE

Accessibility & contrast

On white

6.23
#843CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#843CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CBE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CBE#FFFFFF#000000##FFFFFF
##843CBE1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#1261BB
Tritanopia (blue-blind)
#7A5978
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #843cbe;
/* rgb */ color: rgb(132, 60, 190);
/* oklch */ color: oklch(51.5% 0.196 306.0);
Tailwind
colors: {
  custom: {
    50: '#ac77d2',
    500: '#843cbe',
    950: '#000000',
  },
}
SCSS
$custom: #843cbe;
$custom-light: #ac77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#843cbe",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 273.231,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51496,
    "c": 0.19621,
    "h": 306
  },
  "luminance": 0.11855
}

Semantic roles & 50–950 ramp

primary
#843CBE
secondary
#A8CA8C
accent
#DB4C8C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #843CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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