#843EB9#843EB9

#843EB9 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.4% C 0.188 H 307.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#843EB9
RGBrgb(132, 62, 185)
HSLhsl(274, 50%, 48%)
HSVhsv(274, 66%, 73%)
CMYKcmyk(28.6%, 66.5%, 0%, 27.5%)
CIE-LABlab(40.98, 51.75, -53.04)
CIE-LCHlch(40.98, 74.10, 314.29°)
OKLaboklab(51.39% 0.1136 -0.1502)
OKLCHoklch(51.39% 0.188 307.1)
XYZxyz(19.9935, 11.8538, 47.1243)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843EB9 #73B93E
analogous
#463EB9 #843EB9 #B93EB0
triadic
#843EB9 #B9843E #3EB984
tetradic
#843EB9 #B9463E #73B93E #3EB0B9
square
#843EB9 #B9463E #73B93E #3EB0B9
split-complementary
#843EB9 #B0B93E #3EB946
monochromatic
#431F5D #632F8B #843EB9 #A168CC #BE96DC

Accessibility & contrast

On white

6.23
#843EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#843EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843EB9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843EB9#FFFFFF#000000##FFFFFF
##843EB91.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#2261B6
Tritanopia (blue-blind)
#7B5876
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #843eb9;
/* rgb */ color: rgb(132, 62, 185);
/* oklch */ color: oklch(51.4% 0.188 307.1);
Tailwind
colors: {
  custom: {
    50: '#ac78cf',
    500: '#843eb9',
    950: '#000000',
  },
}
SCSS
$custom: #843eb9;
$custom-light: #ac78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#843eb9",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 274.146,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51385,
    "c": 0.18831,
    "h": 307.1
  },
  "luminance": 0.11854
}

Semantic roles & 50–950 ramp

primary
#843EB9
secondary
#A5C78C
accent
#D94E8A
background
#FAF7FC
surface
#F5EEF9
border
#CFC9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #843EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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