#843AAA#843AAA

#843AAA is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.9% C 0.178 H 312.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#843AAA
RGBrgb(132, 58, 170)
HSLhsl(280, 49%, 45%)
HSVhsv(280, 66%, 67%)
CMYKcmyk(22.4%, 65.9%, 0%, 33.3%)
CIE-LABlab(39.30, 50.27, -46.87)
CIE-LCHlch(39.30, 68.73, 317.00°)
OKLaboklab(49.86% 0.1193 -0.1321)
OKLCHoklch(49.86% 0.178 312.1)
XYZxyz(18.2832, 10.8344, 39.1505)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843AAA #60AA3A
analogous
#4C3AAA #843AAA #AA3A98
triadic
#843AAA #AA843A #3AAA84
tetradic
#843AAA #AA4C3A #60AA3A #3A98AA
square
#843AAA #AA4C3A #60AA3A #3A98AA
split-complementary
#843AAA #98AA3A #3AAA4C
monochromatic
#3D1B4F #612A7C #843AAA #A25AC7 #BC88D6

Accessibility & contrast

On white

6.63
#843AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#843AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843AAA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843AAA#FFFFFF#000000##FFFFFF
##843AAA1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#305EA7
Tritanopia (blue-blind)
#80506D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #843aaa;
/* rgb */ color: rgb(132, 58, 170);
/* oklch */ color: oklch(49.9% 0.178 312.1);
Tailwind
colors: {
  custom: {
    50: '#ab75c4',
    500: '#843aaa',
    950: '#000000',
  },
}
SCSS
$custom: #843aaa;
$custom-light: #ab75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#843aaa",
  "rgb": {
    "r": 132,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 279.643,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49859,
    "c": 0.178,
    "h": 312.1
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

primary
#843AAA
secondary
#95C17F
accent
#D94F7E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #843AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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