#843DC3#843DC3

#843DC3 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.200 H 304.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#843DC3
RGBrgb(132, 61, 195)
HSLhsl(272, 53%, 50%)
HSVhsv(272, 69%, 76%)
CMYKcmyk(32.3%, 68.7%, 0%, 23.5%)
CIE-LABlab(41.51, 54.56, -58.04)
CIE-LCHlch(41.51, 79.66, 313.23°)
OKLaboklab(51.98% 0.1136 -0.1649)
OKLCHoklch(51.98% 0.2 304.6)
XYZxyz(21.0326, 12.1832, 52.8627)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843DC3 #7CC33D
analogous
#413DC3 #843DC3 #C33DBF
triadic
#843DC3 #C3843D #3DC384
tetradic
#843DC3 #C3413D #7CC33D #3DBFC3
square
#843DC3 #C3413D #7CC33D #3DBFC3
split-complementary
#843DC3 #BFC33D #3DC341
monochromatic
#452066 #642E95 #843DC3 #A26CD1 #BF9AE0

Accessibility & contrast

On white

6.11
#843DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#843DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843DC3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843DC3#FFFFFF#000000##FFFFFF
##843DC31.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0262C0
Tritanopia (blue-blind)
#785C7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #843dc3;
/* rgb */ color: rgb(132, 61, 195);
/* oklch */ color: oklch(52.0% 0.200 304.6);
Tailwind
colors: {
  custom: {
    50: '#ad78d6',
    500: '#843dc3',
    950: '#000000',
  },
}
SCSS
$custom: #843dc3;
$custom-light: #ad78d6;
$custom-dark: #000000;
JSON
{
  "hex": "#843dc3",
  "rgb": {
    "r": 132,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 271.791,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5198,
    "c": 0.20021,
    "h": 304.6
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#843DC3
secondary
#ACCC90
accent
#DC4C90
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #843DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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