#843EB8#843EB8

#843EB8 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.187 H 307.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#843EB8
RGBrgb(132, 62, 184)
HSLhsl(274, 50%, 48%)
HSVhsv(274, 66%, 72%)
CMYKcmyk(28.3%, 66.3%, 0%, 27.8%)
CIE-LABlab(40.92, 51.52, -52.56)
CIE-LCHlch(40.92, 73.60, 314.43°)
OKLaboklab(51.32% 0.1137 -0.1488)
OKLCHoklch(51.32% 0.187 307.4)
XYZxyz(19.8883, 11.8117, 46.5703)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843EB8 #72B83E
analogous
#473EB8 #843EB8 #B83EAF
triadic
#843EB8 #B8843E #3EB884
tetradic
#843EB8 #B8473E #72B83E #3EAFB8
square
#843EB8 #B8473E #72B83E #3EAFB8
split-complementary
#843EB8 #AFB83E #3EB847
monochromatic
#421F5C #632F8A #843EB8 #A167CC #BD95DB

Accessibility & contrast

On white

6.25
#843EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#843EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843EB8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843EB8#FFFFFF#000000##FFFFFF
##843EB81.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#2361B5
Tritanopia (blue-blind)
#7C5876
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #843eb8;
/* rgb */ color: rgb(132, 62, 184);
/* oklch */ color: oklch(51.3% 0.187 307.4);
Tailwind
colors: {
  custom: {
    50: '#ac78ce',
    500: '#843eb8',
    950: '#000000',
  },
}
SCSS
$custom: #843eb8;
$custom-light: #ac78ce;
$custom-dark: #000000;
JSON
{
  "hex": "#843eb8",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 274.426,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51315,
    "c": 0.18724,
    "h": 307.4
  },
  "luminance": 0.11811
}

Semantic roles & 50–950 ramp

primary
#843EB8
secondary
#A4C78B
accent
#D94F8A
background
#FAF7FC
surface
#F5EEF9
border
#CFC9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #843EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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