#843BC8#843BC8

#843BC8 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.208 H 303.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#843BC8
RGBrgb(132, 59, 200)
HSLhsl(271, 56%, 51%)
HSVhsv(271, 71%, 78%)
CMYKcmyk(34%, 70.5%, 0%, 21.6%)
CIE-LABlab(41.54, 56.66, -60.90)
CIE-LCHlch(41.54, 83.18, 312.93°)
OKLaboklab(52.12% 0.1149 -0.1733)
OKLCHoklch(52.12% 0.208 303.5)
XYZxyz(21.5026, 12.2036, 55.8551)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BC8 #7FC83B
analogous
#3D3BC8 #843BC8 #C83BC5
triadic
#843BC8 #C8843B #3BC884
tetradic
#843BC8 #C83D3B #7FC83B #3BC5C8
square
#843BC8 #C83D3B #7FC83B #3BC5C8
split-complementary
#843BC8 #C5C83B #3BC83D
monochromatic
#461E6B #652B9A #843BC8 #A26BD5 #C09BE3

Accessibility & contrast

On white

6.10
#843BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#843BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843BC8
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843BC8#FFFFFF#000000##FFFFFF
##843BC81.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#775C7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #843bc8;
/* rgb */ color: rgb(132, 59, 200);
/* oklch */ color: oklch(52.1% 0.208 303.5);
Tailwind
colors: {
  custom: {
    50: '#ad77da',
    500: '#843bc8',
    950: '#000000',
  },
}
SCSS
$custom: #843bc8;
$custom-light: #ad77da;
$custom-dark: #000000;
JSON
{
  "hex": "#843bc8",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 271.064,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52117,
    "c": 0.20791,
    "h": 303.5
  },
  "luminance": 0.12204
}

Semantic roles & 50–950 ramp

primary
#843BC8
secondary
#AECF90
accent
#DF4891
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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