#843FBC#843FBC

#843FBC is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.190 H 306.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#843FBC
RGBrgb(132, 63, 188)
HSLhsl(273, 50%, 49%)
HSVhsv(273, 66%, 74%)
CMYKcmyk(29.8%, 66.5%, 0%, 26.3%)
CIE-LABlab(41.36, 51.96, -54.19)
CIE-LCHlch(41.36, 75.08, 313.80°)
OKLaboklab(51.72% 0.1122 -0.1536)
OKLCHoklch(51.72% 0.19 306.1)
XYZxyz(20.3684, 12.0916, 48.8281)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FBC #77BC3F
analogous
#463FBC #843FBC #BC3FB6
triadic
#843FBC #BC843F #3FBC84
tetradic
#843FBC #BC463F #77BC3F #3FB6BC
square
#843FBC #BC463F #77BC3F #3FB6BC
split-complementary
#843FBC #B6BC3F #3FBC46
monochromatic
#442060 #64308E #843FBC #A16BCD #BE99DD

Accessibility & contrast

On white

6.14
#843FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#843FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843FBC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843FBC#FFFFFF#000000##FFFFFF
##843FBC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#1E62B9
Tritanopia (blue-blind)
#7A5A78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #843fbc;
/* rgb */ color: rgb(132, 63, 188);
/* oklch */ color: oklch(51.7% 0.190 306.1);
Tailwind
colors: {
  custom: {
    50: '#ac79d1',
    500: '#843fbc',
    950: '#000000',
  },
}
SCSS
$custom: #843fbc;
$custom-light: #ac79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#843fbc",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 273.12,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51722,
    "c": 0.19018,
    "h": 306.1
  },
  "luminance": 0.12091
}

Semantic roles & 50–950 ramp

primary
#843FBC
secondary
#A8C98E
accent
#D94E8D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #843FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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