#843DC7#843DC7

#843DC7 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.3% C 0.204 H 303.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#843DC7
RGBrgb(132, 61, 199)
HSLhsl(271, 55%, 51%)
HSVhsv(271, 69%, 78%)
CMYKcmyk(33.7%, 69.3%, 0%, 22%)
CIE-LABlab(41.79, 55.50, -59.90)
CIE-LCHlch(41.79, 81.66, 312.81°)
OKLaboklab(52.28% 0.113 -0.1704)
OKLCHoklch(52.28% 0.204 303.6)
XYZxyz(21.4909, 12.3666, 55.2765)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843DC7 #80C73D
analogous
#3F3DC7 #843DC7 #C73DC5
triadic
#843DC7 #C7843D #3DC784
tetradic
#843DC7 #C73F3D #80C73D #3DC5C7
square
#843DC7 #C73F3D #80C73D #3DC5C7
split-complementary
#843DC7 #C5C73D #3DC73F
monochromatic
#461F6B #652D9A #843DC7 #A26CD5 #C09CE2

Accessibility & contrast

On white

6.05
#843DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#843DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843DC7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843DC7#FFFFFF#000000##FFFFFF
##843DC71.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#775D7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #843dc7;
/* rgb */ color: rgb(132, 61, 199);
/* oklch */ color: oklch(52.3% 0.204 303.6);
Tailwind
colors: {
  custom: {
    50: '#ad78d9',
    500: '#843dc7',
    950: '#000000',
  },
}
SCSS
$custom: #843dc7;
$custom-light: #ad78d9;
$custom-dark: #000000;
JSON
{
  "hex": "#843dc7",
  "rgb": {
    "r": 132,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 270.87,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52275,
    "c": 0.20443,
    "h": 303.6
  },
  "luminance": 0.12367
}

Semantic roles & 50–950 ramp

primary
#843DC7
secondary
#AFCE91
accent
#DF4992
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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