#843CD6#843CD6

#843CD6 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.3% C 0.221 H 300.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#843CD6
RGBrgb(132, 60, 214)
HSLhsl(268, 65%, 54%)
HSVhsv(268, 72%, 84%)
CMYKcmyk(38.3%, 72%, 0%, 16.1%)
CIE-LABlab(42.75, 59.54, -67.01)
CIE-LCHlch(42.75, 89.64, 311.62°)
OKLaboklab(53.31% 0.1114 -0.1912)
OKLCHoklch(53.31% 0.221 300.2)
XYZxyz(23.2662, 12.9921, 64.8872)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CD6 #8ED63C
analogous
#3C41D6 #843CD6 #D13CD6
triadic
#843CD6 #D6843C #3CD684
tetradic
#843CD6 #D63C41 #8ED63C #3CD6D1
square
#843CD6 #D63C41 #8ED63C #3CD6D1
split-complementary
#843CD6 #D6D13C #41D63C
monochromatic
#491A7D #6625B0 #843CD6 #A46FE1 #C4A1EB

Accessibility & contrast

On white

5.84
#843CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#843CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CD6
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CD6#FFFFFF#000000##FFFFFF
##843CD61.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DA
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#716286
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #843cd6;
/* rgb */ color: rgb(132, 60, 214);
/* oklch */ color: oklch(53.3% 0.221 300.2);
Tailwind
colors: {
  custom: {
    50: '#ae78e4',
    500: '#843cd6',
    950: '#000000',
  },
}
SCSS
$custom: #843cd6;
$custom-light: #ae78e4;
$custom-dark: #000000;
JSON
{
  "hex": "#843cd6",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 214
  },
  "hsl": {
    "h": 268.052,
    "s": 65.254,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53308,
    "c": 0.22132,
    "h": 300.2
  },
  "luminance": 0.12992
}

Semantic roles & 50–950 ramp

primary
#843CD6
secondary
#B9D896
accent
#E84099
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #843CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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