#843DB8#843DB8

#843DB8 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.189 H 307.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#843DB8
RGBrgb(132, 61, 184)
HSLhsl(275, 50%, 48%)
HSVhsv(275, 67%, 72%)
CMYKcmyk(28.3%, 66.8%, 0%, 27.8%)
CIE-LABlab(40.74, 52.00, -52.84)
CIE-LCHlch(40.74, 74.13, 314.54°)
OKLaboklab(51.19% 0.1148 -0.1496)
OKLCHoklch(51.19% 0.189 307.5)
XYZxyz(19.8344, 11.7040, 46.5523)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843DB8 #71B83D
analogous
#463DB8 #843DB8 #B83DAE
triadic
#843DB8 #B8843D #3DB884
tetradic
#843DB8 #B8463D #71B83D #3DAEB8
square
#843DB8 #B8463D #71B83D #3DAEB8
split-complementary
#843DB8 #AEB83D #3DB846
monochromatic
#421F5C #632E8A #843DB8 #A166CC #BD94DB

Accessibility & contrast

On white

6.29
#843DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#843DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843DB8
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843DB8#FFFFFF#000000##FFFFFF
##843DB81.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#2261B5
Tritanopia (blue-blind)
#7C5775
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #843db8;
/* rgb */ color: rgb(132, 61, 184);
/* oklch */ color: oklch(51.2% 0.189 307.5);
Tailwind
colors: {
  custom: {
    50: '#ac77ce',
    500: '#843db8',
    950: '#000000',
  },
}
SCSS
$custom: #843db8;
$custom-light: #ac77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#843db8",
  "rgb": {
    "r": 132,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 274.634,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51191,
    "c": 0.18858,
    "h": 307.5
  },
  "luminance": 0.11704
}

Semantic roles & 50–950 ramp

primary
#843DB8
secondary
#A4C78A
accent
#DA4E89
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #843DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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