#843AC5#843AC5

#843AC5 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.206 H 304.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#843AC5
RGBrgb(132, 58, 197)
HSLhsl(272, 55%, 50%)
HSVhsv(272, 71%, 77%)
CMYKcmyk(33%, 70.6%, 0%, 22.7%)
CIE-LABlab(41.16, 56.41, -59.77)
CIE-LCHlch(41.16, 82.18, 313.34°)
OKLaboklab(51.78% 0.1164 -0.17)
OKLCHoklch(51.78% 0.206 304.4)
XYZxyz(21.1045, 11.9629, 54.0097)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843AC5 #7BC53A
analogous
#3E3AC5 #843AC5 #C53AC1
triadic
#843AC5 #C5843A #3AC584
tetradic
#843AC5 #C53E3A #7BC53A #3AC1C5
square
#843AC5 #C53E3A #7BC53A #3AC1C5
split-complementary
#843AC5 #C1C53A #3AC53E
monochromatic
#451E66 #642C96 #843AC5 #A269D3 #BF99E1

Accessibility & contrast

On white

6.19
#843AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#843AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843AC5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843AC5#FFFFFF#000000##FFFFFF
##843AC51.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#785B7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #843ac5;
/* rgb */ color: rgb(132, 58, 197);
/* oklch */ color: oklch(51.8% 0.206 304.4);
Tailwind
colors: {
  custom: {
    50: '#ad76d7',
    500: '#843ac5',
    950: '#000000',
  },
}
SCSS
$custom: #843ac5;
$custom-light: #ad76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#843ac5",
  "rgb": {
    "r": 132,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 271.942,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.51777,
    "c": 0.20598,
    "h": 304.4
  },
  "luminance": 0.11963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #843AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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