#843CC4#843CC4

#843CC4 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.203 H 304.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#843CC4
RGBrgb(132, 60, 196)
HSLhsl(272, 54%, 50%)
HSVhsv(272, 69%, 77%)
CMYKcmyk(32.7%, 69.4%, 0%, 23.1%)
CIE-LABlab(41.41, 55.26, -58.78)
CIE-LCHlch(41.41, 80.67, 313.23°)
OKLaboklab(51.93% 0.1145 -0.1671)
OKLCHoklch(51.93% 0.203 304.4)
XYZxyz(21.0931, 12.1229, 53.4426)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CC4 #7CC43C
analogous
#403CC4 #843CC4 #C43CC0
triadic
#843CC4 #C4843C #3CC484
tetradic
#843CC4 #C4403C #7CC43C #3CC0C4
square
#843CC4 #C4403C #7CC43C #3CC0C4
split-complementary
#843CC4 #C0C43C #3CC440
monochromatic
#451F67 #642D96 #843CC4 #A26BD2 #BF9AE0

Accessibility & contrast

On white

6.13
#843CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#843CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CC4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CC4#FFFFFF#000000##FFFFFF
##843CC41.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#785B7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #843cc4;
/* rgb */ color: rgb(132, 60, 196);
/* oklch */ color: oklch(51.9% 0.203 304.4);
Tailwind
colors: {
  custom: {
    50: '#ad77d7',
    500: '#843cc4',
    950: '#000000',
  },
}
SCSS
$custom: #843cc4;
$custom-light: #ad77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#843cc4",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 271.765,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51935,
    "c": 0.20251,
    "h": 304.4
  },
  "luminance": 0.12123
}

Semantic roles & 50–950 ramp

primary
#843CC4
secondary
#ACCC90
accent
#DD4B90
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #843CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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