#843DC1#843DC1

#843DC1 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.8% C 0.198 H 305.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#843DC1
RGBrgb(132, 61, 193)
HSLhsl(272, 52%, 50%)
HSVhsv(272, 68%, 76%)
CMYKcmyk(31.6%, 68.4%, 0%, 24.3%)
CIE-LABlab(41.36, 54.09, -57.11)
CIE-LCHlch(41.36, 78.65, 313.45°)
OKLaboklab(51.83% 0.1138 -0.1621)
OKLCHoklch(51.83% 0.198 305.1)
XYZxyz(20.8080, 12.0934, 51.6798)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843DC1 #7AC13D
analogous
#423DC1 #843DC1 #C13DBC
triadic
#843DC1 #C1843D #3DC184
tetradic
#843DC1 #C1423D #7AC13D #3DBCC1
square
#843DC1 #C1423D #7AC13D #3DBCC1
split-complementary
#843DC1 #BCC13D #3DC142
monochromatic
#442064 #642E92 #843DC1 #A16BD0 #BF99DF

Accessibility & contrast

On white

6.14
#843DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #843DC1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843DC1#FFFFFF#000000##FFFFFF
##843DC11.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0B62BE
Tritanopia (blue-blind)
#795B7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #843dc1;
/* rgb */ color: rgb(132, 61, 193);
/* oklch */ color: oklch(51.8% 0.198 305.1);
Tailwind
colors: {
  custom: {
    50: '#ad78d5',
    500: '#843dc1',
    950: '#000000',
  },
}
SCSS
$custom: #843dc1;
$custom-light: #ad78d5;
$custom-dark: #000000;
JSON
{
  "hex": "#843dc1",
  "rgb": {
    "r": 132,
    "g": 61,
    "b": 193
  },
  "hsl": {
    "h": 272.273,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51834,
    "c": 0.1981,
    "h": 305.1
  },
  "luminance": 0.12093
}

Semantic roles & 50–950 ramp

primary
#843DC1
secondary
#ABCB8F
accent
#DB4C8E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #843DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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