#843AC4#843AC4

#843AC4 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.205 H 304.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#843AC4
RGBrgb(132, 58, 196)
HSLhsl(272, 54%, 50%)
HSVhsv(272, 70%, 77%)
CMYKcmyk(32.7%, 70.4%, 0%, 23.1%)
CIE-LABlab(41.08, 56.17, -59.31)
CIE-LCHlch(41.08, 81.69, 313.44°)
OKLaboklab(51.7% 0.1165 -0.1686)
OKLCHoklch(51.7% 0.205 304.6)
XYZxyz(20.9903, 11.9173, 53.4083)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843AC4 #7AC43A
analogous
#3F3AC4 #843AC4 #C43ABF
triadic
#843AC4 #C4843A #3AC484
tetradic
#843AC4 #C43F3A #7AC43A #3ABFC4
square
#843AC4 #C43F3A #7AC43A #3ABFC4
split-complementary
#843AC4 #BFC43A #3AC43F
monochromatic
#441E66 #642C95 #843AC4 #A169D3 #BF98E0

Accessibility & contrast

On white

6.21
#843AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#843AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843AC4
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843AC4#FFFFFF#000000##FFFFFF
##843AC41.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#785A7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #843ac4;
/* rgb */ color: rgb(132, 58, 196);
/* oklch */ color: oklch(51.7% 0.205 304.6);
Tailwind
colors: {
  custom: {
    50: '#ad76d7',
    500: '#843ac4',
    950: '#000000',
  },
}
SCSS
$custom: #843ac4;
$custom-light: #ad76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#843ac4",
  "rgb": {
    "r": 132,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 272.174,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51702,
    "c": 0.20495,
    "h": 304.6
  },
  "luminance": 0.11917
}

Semantic roles & 50–950 ramp

primary
#843AC4
secondary
#ABCC8E
accent
#DE4A8F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #843AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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