#843DC2#843DC2

#843DC2 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.9% C 0.199 H 304.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#843DC2
RGBrgb(132, 61, 194)
HSLhsl(272, 52%, 50%)
HSVhsv(272, 69%, 76%)
CMYKcmyk(32%, 68.6%, 0%, 23.9%)
CIE-LABlab(41.43, 54.32, -57.57)
CIE-LCHlch(41.43, 79.16, 313.34°)
OKLaboklab(51.91% 0.1137 -0.1635)
OKLCHoklch(51.91% 0.199 304.8)
XYZxyz(20.9199, 12.1382, 52.2693)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843DC2 #7BC23D
analogous
#413DC2 #843DC2 #C23DBE
triadic
#843DC2 #C2843D #3DC284
tetradic
#843DC2 #C2413D #7BC23D #3DBEC2
square
#843DC2 #C2413D #7BC23D #3DBEC2
split-complementary
#843DC2 #BEC23D #3DC241
monochromatic
#452065 #642E93 #843DC2 #A26CD1 #BF9ADF

Accessibility & contrast

On white

6.13
#843DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#843DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843DC2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843DC2#FFFFFF#000000##FFFFFF
##843DC21.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0662BF
Tritanopia (blue-blind)
#795B7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #843dc2;
/* rgb */ color: rgb(132, 61, 194);
/* oklch */ color: oklch(51.9% 0.199 304.8);
Tailwind
colors: {
  custom: {
    50: '#ad78d5',
    500: '#843dc2',
    950: '#000000',
  },
}
SCSS
$custom: #843dc2;
$custom-light: #ad78d5;
$custom-dark: #000000;
JSON
{
  "hex": "#843dc2",
  "rgb": {
    "r": 132,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 272.03,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.51907,
    "c": 0.19915,
    "h": 304.8
  },
  "luminance": 0.12138
}

Semantic roles & 50–950 ramp

primary
#843DC2
secondary
#ABCB90
accent
#DC4C8F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #843DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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