#843DB7#843DB7

#843DB7 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.188 H 307.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#843DB7
RGBrgb(132, 61, 183)
HSLhsl(275, 50%, 48%)
HSVhsv(275, 67%, 72%)
CMYKcmyk(27.9%, 66.7%, 0%, 28.2%)
CIE-LABlab(40.67, 51.77, -52.36)
CIE-LCHlch(40.67, 73.63, 314.67°)
OKLaboklab(51.12% 0.1149 -0.1482)
OKLCHoklch(51.12% 0.188 307.8)
XYZxyz(19.7299, 11.6622, 46.0022)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843DB7 #70B73D
analogous
#473DB7 #843DB7 #B73DAD
triadic
#843DB7 #B7843D #3DB784
tetradic
#843DB7 #B7473D #70B73D #3DADB7
square
#843DB7 #B7473D #70B73D #3DADB7
split-complementary
#843DB7 #ADB73D #3DB747
monochromatic
#421E5B #632E89 #843DB7 #A165CC #BD93DB

Accessibility & contrast

On white

6.30
#843DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#843DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843DB7
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843DB7#FFFFFF#000000##FFFFFF
##843DB71.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#2361B4
Tritanopia (blue-blind)
#7C5775
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #843db7;
/* rgb */ color: rgb(132, 61, 183);
/* oklch */ color: oklch(51.1% 0.188 307.8);
Tailwind
colors: {
  custom: {
    50: '#ac77cd',
    500: '#843db7',
    950: '#000000',
  },
}
SCSS
$custom: #843db7;
$custom-light: #ac77cd;
$custom-dark: #000000;
JSON
{
  "hex": "#843db7",
  "rgb": {
    "r": 132,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 274.918,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51121,
    "c": 0.18752,
    "h": 307.8
  },
  "luminance": 0.11662
}

Semantic roles & 50–950 ramp

primary
#843DB7
secondary
#A3C689
accent
#DA4E88
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #843DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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