#843AD4#843AD4

#843AD4 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.221 H 300.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#843AD4
RGBrgb(132, 58, 212)
HSLhsl(269, 64%, 53%)
HSVhsv(269, 73%, 83%)
CMYKcmyk(37.7%, 72.6%, 0%, 16.9%)
CIE-LABlab(42.28, 59.94, -66.62)
CIE-LCHlch(42.28, 89.62, 311.98°)
OKLaboklab(52.93% 0.1136 -0.1901)
OKLCHoklch(52.93% 0.221 300.9)
XYZxyz(22.9095, 12.6849, 63.5161)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843AD4 #8AD43A
analogous
#3A3DD4 #843AD4 #D13AD4
triadic
#843AD4 #D4843A #3AD484
tetradic
#843AD4 #D43A3D #8AD43A #3AD4D1
square
#843AD4 #D43A3D #8AD43A #3AD4D1
split-complementary
#843AD4 #D4D13A #3DD43A
monochromatic
#481A79 #6625AB #843AD4 #A36CDF #C39EEA

Accessibility & contrast

On white

5.94
#843AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#843AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843AD4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843AD4#FFFFFF#000000##FFFFFF
##843AD41.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0063D1
Tritanopia (blue-blind)
#726184
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #843ad4;
/* rgb */ color: rgb(132, 58, 212);
/* oklch */ color: oklch(52.9% 0.221 300.9);
Tailwind
colors: {
  custom: {
    50: '#ae77e2',
    500: '#843ad4',
    950: '#000000',
  },
}
SCSS
$custom: #843ad4;
$custom-light: #ae77e2;
$custom-dark: #000000;
JSON
{
  "hex": "#843ad4",
  "rgb": {
    "r": 132,
    "g": 58,
    "b": 212
  },
  "hsl": {
    "h": 268.831,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52929,
    "c": 0.22147,
    "h": 300.9
  },
  "luminance": 0.12685
}

Semantic roles & 50–950 ramp

primary
#843AD4
secondary
#B6D694
accent
#E74197
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110915
muted
#807B84

Preview Lab

Preview with #843AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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