#843AB9#843AB9

#843AB9 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.9% C 0.194 H 307.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#843AB9
RGBrgb(132, 58, 185)
HSLhsl(275, 52%, 48%)
HSVhsv(275, 69%, 73%)
CMYKcmyk(28.6%, 68.6%, 0%, 27.5%)
CIE-LABlab(40.30, 53.63, -54.13)
CIE-LCHlch(40.30, 76.20, 314.73°)
OKLaboklab(50.9% 0.118 -0.1534)
OKLCHoklch(50.9% 0.194 307.6)
XYZxyz(19.7839, 11.4347, 47.0544)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843AB9 #6FB93A
analogous
#453AB9 #843AB9 #B93AAE
triadic
#843AB9 #B9843A #3AB984
tetradic
#843AB9 #B9453A #6FB93A #3AAEB9
square
#843AB9 #B9453A #6FB93A #3AAEB9
split-complementary
#843AB9 #AEB93A #3AB945
monochromatic
#421D5C #632B8A #843AB9 #A162CE #BD91DC

Accessibility & contrast

On white

6.39
#843AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#843AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843AB9
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843AB9#FFFFFF#000000##FFFFFF
##843AB91.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#1A60B6
Tritanopia (blue-blind)
#7B5675
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #843ab9;
/* rgb */ color: rgb(132, 58, 185);
/* oklch */ color: oklch(50.9% 0.194 307.6);
Tailwind
colors: {
  custom: {
    50: '#ac76cf',
    500: '#843ab9',
    950: '#000000',
  },
}
SCSS
$custom: #843ab9;
$custom-light: #ac76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#843ab9",
  "rgb": {
    "r": 132,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 274.961,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50898,
    "c": 0.19354,
    "h": 307.6
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

primary
#843AB9
secondary
#A2C787
accent
#DC4C88
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #843AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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