#843FCC#843FCC

#843FCC is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.207 H 302.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#843FCC
RGBrgb(132, 63, 204)
HSLhsl(269, 58%, 52%)
HSVhsv(269, 69%, 80%)
CMYKcmyk(35.3%, 69.1%, 0%, 20%)
CIE-LABlab(42.49, 55.76, -61.67)
CIE-LCHlch(42.49, 83.14, 312.12°)
OKLaboklab(52.89% 0.1102 -0.1756)
OKLCHoklch(52.89% 0.207 302.1)
XYZxyz(22.1897, 12.8201, 58.4205)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FCC #87CC3F
analogous
#3F40CC #843FCC #CB3FCC
triadic
#843FCC #CC843F #3FCC84
tetradic
#843FCC #CC3F40 #87CC3F #3FCCCB
square
#843FCC #CC3F40 #87CC3F #3FCCCB
split-complementary
#843FCC #CCCB3F #40CC3F
monochromatic
#471E72 #662BA3 #843FCC #A36FD9 #C2A0E6

Accessibility & contrast

On white

5.89
#843FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#843FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843FCC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843FCC#FFFFFF#000000##FFFFFF
##843FCC1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#756081
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #843fcc;
/* rgb */ color: rgb(132, 63, 204);
/* oklch */ color: oklch(52.9% 0.207 302.1);
Tailwind
colors: {
  custom: {
    50: '#ad79dc',
    500: '#843fcc',
    950: '#000000',
  },
}
SCSS
$custom: #843fcc;
$custom-light: #ad79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#843fcc",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 269.362,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52888,
    "c": 0.2073,
    "h": 302.1
  },
  "luminance": 0.1282
}

Semantic roles & 50–950 ramp

primary
#843FCC
secondary
#B4D295
accent
#E14796
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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