#843BC9#843BC9

#843BC9 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.209 H 303.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#843BC9
RGBrgb(132, 59, 201)
HSLhsl(271, 57%, 51%)
HSVhsv(271, 71%, 79%)
CMYKcmyk(34.3%, 70.6%, 0%, 21.2%)
CIE-LABlab(41.61, 56.89, -61.36)
CIE-LCHlch(41.61, 83.68, 312.84°)
OKLaboklab(52.19% 0.1147 -0.1746)
OKLCHoklch(52.19% 0.209 303.3)
XYZxyz(21.6198, 12.2505, 56.4726)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BC9 #80C93B
analogous
#3D3BC9 #843BC9 #C93BC7
triadic
#843BC9 #C9843B #3BC984
tetradic
#843BC9 #C93D3B #80C93B #3BC7C9
square
#843BC9 #C93D3B #80C93B #3BC7C9
split-complementary
#843BC9 #C7C93B #3BC93D
monochromatic
#461E6C #652B9C #843BC9 #A26BD6 #C09BE3

Accessibility & contrast

On white

6.09
#843BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#843BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843BC9
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843BC9#FFFFFF#000000##FFFFFF
##843BC91.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#765D7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #843bc9;
/* rgb */ color: rgb(132, 59, 201);
/* oklch */ color: oklch(52.2% 0.209 303.3);
Tailwind
colors: {
  custom: {
    50: '#ad77da',
    500: '#843bc9',
    950: '#000000',
  },
}
SCSS
$custom: #843bc9;
$custom-light: #ad77da;
$custom-dark: #000000;
JSON
{
  "hex": "#843bc9",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 201
  },
  "hsl": {
    "h": 270.845,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52192,
    "c": 0.20894,
    "h": 303.3
  },
  "luminance": 0.12251
}

Semantic roles & 50–950 ramp

primary
#843BC9
secondary
#AFCF90
accent
#E04892
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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