#843FC2#843FC2

#843FC2 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.2% C 0.197 H 304.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#843FC2
RGBrgb(132, 63, 194)
HSLhsl(272, 52%, 50%)
HSVhsv(272, 68%, 76%)
CMYKcmyk(32%, 67.5%, 0%, 23.9%)
CIE-LABlab(41.78, 53.37, -57.02)
CIE-LCHlch(41.78, 78.10, 313.11°)
OKLaboklab(52.15% 0.1115 -0.1619)
OKLCHoklch(52.15% 0.197 304.6)
XYZxyz(21.0286, 12.3557, 52.3055)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FC2 #7DC23F
analogous
#423FC2 #843FC2 #C23FBF
triadic
#843FC2 #C2843F #3FC284
tetradic
#843FC2 #C2423F #7DC23F #3FBFC2
square
#843FC2 #C2423F #7DC23F #3FBFC2
split-complementary
#843FC2 #BFC23F #3FC242
monochromatic
#452066 #652F95 #843FC2 #A26DD1 #C09CE0

Accessibility & contrast

On white

6.05
#843FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#843FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843FC2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843FC2#FFFFFF#000000##FFFFFF
##843FC21.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0E63BF
Tritanopia (blue-blind)
#785C7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #843fc2;
/* rgb */ color: rgb(132, 63, 194);
/* oklch */ color: oklch(52.2% 0.197 304.6);
Tailwind
colors: {
  custom: {
    50: '#ac79d5',
    500: '#843fc2',
    950: '#000000',
  },
}
SCSS
$custom: #843fc2;
$custom-light: #ac79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#843fc2",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 271.603,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52151,
    "c": 0.19661,
    "h": 304.6
  },
  "luminance": 0.12356
}

Semantic roles & 50–950 ramp

primary
#843FC2
secondary
#ADCC91
accent
#DB4D90
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #843FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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