#843BCB#843BCB

#843BCB is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.211 H 302.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#843BCB
RGBrgb(132, 59, 203)
HSLhsl(270, 58%, 51%)
HSVhsv(270, 71%, 80%)
CMYKcmyk(35%, 70.9%, 0%, 20.4%)
CIE-LABlab(41.76, 57.36, -62.28)
CIE-LCHlch(41.76, 84.67, 312.65°)
OKLaboklab(52.34% 0.1144 -0.1773)
OKLCHoklch(52.34% 0.211 302.8)
XYZxyz(21.8566, 12.3452, 57.7197)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BCB #82CB3B
analogous
#3C3BCB #843BCB #CB3BCA
triadic
#843BCB #CB843B #3BCB84
tetradic
#843BCB #CB3C3B #82CB3B #3BCACB
square
#843BCB #CB3C3B #82CB3B #3BCACB
split-complementary
#843BCB #CACB3B #3BCB3C
monochromatic
#461D6E #652A9F #843BCB #A26BD8 #C19CE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##843BCB#FFFFFF#000000##FFFFFF
##843BCB1.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)
#0061CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#765E7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #843bcb;
/* rgb */ color: rgb(132, 59, 203);
/* oklch */ color: oklch(52.3% 0.211 302.8);
Tailwind
colors: {
  custom: {
    50: '#ad77dc',
    500: '#843bcb',
    950: '#000000',
  },
}
SCSS
$custom: #843bcb;
$custom-light: #ad77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#843bcb",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 270.417,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52344,
    "c": 0.21102,
    "h": 302.8
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#843BCB
secondary
#B0D191
accent
#E14793
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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