#843CAF#843CAF

#843CAF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.180 H 310.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#843CAF
RGBrgb(132, 60, 175)
HSLhsl(278, 49%, 46%)
HSVhsv(278, 66%, 69%)
CMYKcmyk(24.6%, 65.7%, 0%, 31.4%)
CIE-LABlab(39.97, 50.43, -48.77)
CIE-LCHlch(39.97, 70.15, 315.96°)
OKLaboklab(50.44% 0.1167 -0.1376)
OKLCHoklch(50.44% 0.18 310.3)
XYZxyz(18.8680, 11.2328, 41.7233)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CAF #67AF3C
analogous
#4A3CAF #843CAF #AF3CA0
triadic
#843CAF #AF843C #3CAF84
tetradic
#843CAF #AF4A3C #67AF3C #3CA0AF
square
#843CAF #AF4A3C #67AF3C #3CA0AF
split-complementary
#843CAF #A0AF3C #3CAF4A
monochromatic
#3F1D54 #622C81 #843CAF #A160C8 #BC8DD8

Accessibility & contrast

On white

6.47
#843CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#843CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CAF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CAF#FFFFFF#000000##FFFFFF
##843CAF1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#2D5FAC
Tritanopia (blue-blind)
#7E5370
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #843caf;
/* rgb */ color: rgb(132, 60, 175);
/* oklch */ color: oklch(50.4% 0.180 310.3);
Tailwind
colors: {
  custom: {
    50: '#ab77c7',
    500: '#843caf',
    950: '#000000',
  },
}
SCSS
$custom: #843caf;
$custom-light: #ab77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#843caf",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 277.565,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50445,
    "c": 0.18044,
    "h": 310.3
  },
  "luminance": 0.11232
}

Semantic roles & 50–950 ramp

primary
#843CAF
secondary
#9BC384
accent
#D84F83
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #843CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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