#843BCC#843BCC

#843BCC is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.212 H 302.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#843BCC
RGBrgb(132, 59, 204)
HSLhsl(270, 59%, 52%)
HSVhsv(270, 71%, 80%)
CMYKcmyk(35.3%, 71.1%, 0%, 20%)
CIE-LABlab(41.83, 57.60, -62.74)
CIE-LCHlch(41.83, 85.17, 312.56°)
OKLaboklab(52.42% 0.1142 -0.1787)
OKLCHoklch(52.42% 0.212 302.6)
XYZxyz(21.9762, 12.3931, 58.3494)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BCC #83CC3B
analogous
#3C3BCC #843BCC #CC3BCB
triadic
#843BCC #CC843B #3BCC84
tetradic
#843BCC #CC3C3B #83CC3B #3BCBCC
square
#843BCC #CC3C3B #83CC3B #3BCBCC
split-complementary
#843BCC #CBCC3B #3BCC3C
monochromatic
#471D70 #652AA0 #843BCC #A26CD9 #C19CE5

Accessibility & contrast

On white

6.04
#843BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#843BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843BCC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843BCC#FFFFFF#000000##FFFFFF
##843BCC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#755E80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #843bcc;
/* rgb */ color: rgb(132, 59, 204);
/* oklch */ color: oklch(52.4% 0.212 302.6);
Tailwind
colors: {
  custom: {
    50: '#ad77dc',
    500: '#843bcc',
    950: '#000000',
  },
}
SCSS
$custom: #843bcc;
$custom-light: #ad77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#843bcc",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 270.207,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5242,
    "c": 0.21206,
    "h": 302.6
  },
  "luminance": 0.12393
}

Semantic roles & 50–950 ramp

primary
#843BCC
secondary
#B1D192
accent
#E24693
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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