#843DC6#843DC6

#843DC6 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.203 H 303.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#843DC6
RGBrgb(132, 61, 198)
HSLhsl(271, 55%, 51%)
HSVhsv(271, 69%, 78%)
CMYKcmyk(33.3%, 69.2%, 0%, 22.4%)
CIE-LABlab(41.72, 55.26, -59.44)
CIE-LCHlch(41.72, 81.16, 312.92°)
OKLaboklab(52.2% 0.1131 -0.169)
OKLCHoklch(52.2% 0.203 303.8)
XYZxyz(21.3752, 12.3203, 54.6671)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843DC6 #7FC63D
analogous
#3F3DC6 #843DC6 #C63DC3
triadic
#843DC6 #C6843D #3DC684
tetradic
#843DC6 #C63F3D #7FC63D #3DC3C6
square
#843DC6 #C63F3D #7FC63D #3DC3C6
split-complementary
#843DC6 #C3C63D #3DC63F
monochromatic
#461F6A #652D99 #843DC6 #A26CD4 #C09CE2

Accessibility & contrast

On white

6.06
#843DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#843DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843DC6
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843DC6#FFFFFF#000000##FFFFFF
##843DC61.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#775D7D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #843dc6;
/* rgb */ color: rgb(132, 61, 198);
/* oklch */ color: oklch(52.2% 0.203 303.8);
Tailwind
colors: {
  custom: {
    50: '#ad78d8',
    500: '#843dc6',
    950: '#000000',
  },
}
SCSS
$custom: #843dc6;
$custom-light: #ad78d8;
$custom-dark: #000000;
JSON
{
  "hex": "#843dc6",
  "rgb": {
    "r": 132,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 271.095,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52201,
    "c": 0.20338,
    "h": 303.8
  },
  "luminance": 0.1232
}

Semantic roles & 50–950 ramp

primary
#843DC6
secondary
#AECE91
accent
#DE4A91
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110915
muted
#807B83

Preview Lab

Preview with #843DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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