#843CB3#843CB3

#843CB3 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.185 H 309.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#843CB3
RGBrgb(132, 60, 179)
HSLhsl(276, 50%, 47%)
HSVhsv(276, 66%, 70%)
CMYKcmyk(26.3%, 66.5%, 0%, 29.8%)
CIE-LABlab(40.23, 51.33, -50.71)
CIE-LCHlch(40.23, 72.15, 315.35°)
OKLaboklab(50.72% 0.1164 -0.1433)
OKLCHoklch(50.72% 0.185 309.1)
XYZxyz(19.2666, 11.3923, 43.8231)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CB3 #6BB33C
analogous
#493CB3 #843CB3 #B33CA7
triadic
#843CB3 #B3843C #3CB384
tetradic
#843CB3 #B3493C #6BB33C #3CA7B3
square
#843CB3 #B3493C #6BB33C #3CA7B3
split-complementary
#843CB3 #A7B33C #3CB349
monochromatic
#401D57 #622D85 #843CB3 #A162CA #BC90DA

Accessibility & contrast

On white

6.41
#843CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#843CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CB3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CB3#FFFFFF#000000##FFFFFF
##843CB31.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#2860B0
Tritanopia (blue-blind)
#7D5572
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #843cb3;
/* rgb */ color: rgb(132, 60, 179);
/* oklch */ color: oklch(50.7% 0.185 309.1);
Tailwind
colors: {
  custom: {
    50: '#ac77ca',
    500: '#843cb3',
    950: '#000000',
  },
}
SCSS
$custom: #843cb3;
$custom-light: #ac77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#843cb3",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 276.303,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50719,
    "c": 0.18464,
    "h": 309.1
  },
  "luminance": 0.11392
}

Semantic roles & 50–950 ramp

primary
#843CB3
secondary
#9FC586
accent
#D94E85
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #843CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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