#843DCA#843DCA

#843DCA is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.208 H 302.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#843DCA
RGBrgb(132, 61, 202)
HSLhsl(270, 57%, 52%)
HSVhsv(270, 70%, 79%)
CMYKcmyk(34.7%, 69.8%, 0%, 20.8%)
CIE-LABlab(42.01, 56.21, -61.29)
CIE-LCHlch(42.01, 83.17, 312.53°)
OKLaboklab(52.5% 0.1125 -0.1744)
OKLCHoklch(52.5% 0.208 302.8)
XYZxyz(21.8426, 12.5073, 57.1291)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843DCA #83CA3D
analogous
#3E3DCA #843DCA #CA3DC9
triadic
#843DCA #CA843D #3DCA84
tetradic
#843DCA #CA3E3D #83CA3D #3DC9CA
square
#843DCA #CA3E3D #83CA3D #3DC9CA
split-complementary
#843DCA #C9CA3D #3DCA3E
monochromatic
#471E6E #652B9F #843DCA #A26DD7 #C19DE4

Accessibility & contrast

On white

6.00
#843DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#843DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843DCA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843DCA#FFFFFF#000000##FFFFFF
##843DCA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#765E7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #843dca;
/* rgb */ color: rgb(132, 61, 202);
/* oklch */ color: oklch(52.5% 0.208 302.8);
Tailwind
colors: {
  custom: {
    50: '#ad78db',
    500: '#843dca',
    950: '#000000',
  },
}
SCSS
$custom: #843dca;
$custom-light: #ad78db;
$custom-dark: #000000;
JSON
{
  "hex": "#843dca",
  "rgb": {
    "r": 132,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 270.213,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.525,
    "c": 0.2076,
    "h": 302.8
  },
  "luminance": 0.12507
}

Semantic roles & 50–950 ramp

primary
#843DCA
secondary
#B1D092
accent
#E04793
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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