#843BCA#843BCA

#843BCA is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.210 H 303.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#843BCA
RGBrgb(132, 59, 202)
HSLhsl(271, 57%, 51%)
HSVhsv(271, 71%, 79%)
CMYKcmyk(34.7%, 70.8%, 0%, 20.8%)
CIE-LABlab(41.69, 57.13, -61.82)
CIE-LCHlch(41.69, 84.17, 312.74°)
OKLaboklab(52.27% 0.1145 -0.176)
OKLCHoklch(52.27% 0.21 303.1)
XYZxyz(21.7379, 12.2977, 57.0941)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BCA #81CA3B
analogous
#3C3BCA #843BCA #CA3BC9
triadic
#843BCA #CA843B #3BCA84
tetradic
#843BCA #CA3C3B #81CA3B #3BC9CA
square
#843BCA #CA3C3B #81CA3B #3BC9CA
split-complementary
#843BCA #C9CA3B #3BCA3C
monochromatic
#461E6D #652B9D #843BCA #A26BD7 #C09BE4

Accessibility & contrast

On white

6.07
#843BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#843BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843BCA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843BCA#FFFFFF#000000##FFFFFF
##843BCA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#765D7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #843bca;
/* rgb */ color: rgb(132, 59, 202);
/* oklch */ color: oklch(52.3% 0.210 303.1);
Tailwind
colors: {
  custom: {
    50: '#ad77db',
    500: '#843bca',
    950: '#000000',
  },
}
SCSS
$custom: #843bca;
$custom-light: #ad77db;
$custom-dark: #000000;
JSON
{
  "hex": "#843bca",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 270.629,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52268,
    "c": 0.20998,
    "h": 303.1
  },
  "luminance": 0.12298
}

Semantic roles & 50–950 ramp

primary
#843BCA
secondary
#B0D091
accent
#E14792
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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