#843EBA#843EBA

#843EBA is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.189 H 306.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#843EBA
RGBrgb(132, 62, 186)
HSLhsl(274, 50%, 49%)
HSVhsv(274, 67%, 73%)
CMYKcmyk(29%, 66.7%, 0%, 27.1%)
CIE-LABlab(41.05, 51.98, -53.52)
CIE-LCHlch(41.05, 74.60, 314.17°)
OKLaboklab(51.46% 0.1135 -0.1516)
OKLCHoklch(51.46% 0.189 306.8)
XYZxyz(20.0994, 11.8962, 47.6822)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843EBA #74BA3E
analogous
#463EBA #843EBA #BA3EB2
triadic
#843EBA #BA843E #3EBA84
tetradic
#843EBA #BA463E #74BA3E #3EB2BA
square
#843EBA #BA463E #74BA3E #3EB2BA
split-complementary
#843EBA #B2BA3E #3EBA46
monochromatic
#431F5E #632F8C #843EBA #A168CD #BE96DC

Accessibility & contrast

On white

6.21
#843EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#843EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843EBA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843EBA#FFFFFF#000000##FFFFFF
##843EBA1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#2061B7
Tritanopia (blue-blind)
#7B5977
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #843eba;
/* rgb */ color: rgb(132, 62, 186);
/* oklch */ color: oklch(51.5% 0.189 306.8);
Tailwind
colors: {
  custom: {
    50: '#ac78cf',
    500: '#843eba',
    950: '#000000',
  },
}
SCSS
$custom: #843eba;
$custom-light: #ac78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#843eba",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 273.871,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51456,
    "c": 0.18937,
    "h": 306.8
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#843EBA
secondary
#A6C88C
accent
#DA4E8B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #843EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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