#843DCC#843DCC

#843DCC is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.210 H 302.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#843DCC
RGBrgb(132, 61, 204)
HSLhsl(270, 58%, 52%)
HSVhsv(270, 70%, 80%)
CMYKcmyk(35.3%, 70.1%, 0%, 20%)
CIE-LABlab(42.16, 56.69, -62.21)
CIE-LCHlch(42.16, 84.17, 312.34°)
OKLaboklab(52.65% 0.1122 -0.1771)
OKLCHoklch(52.65% 0.21 302.4)
XYZxyz(22.0810, 12.6026, 58.3843)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843DCC #85CC3D
analogous
#3D3ECC #843DCC #CB3DCC
triadic
#843DCC #CC843D #3DCC84
tetradic
#843DCC #CC3D3E #85CC3D #3DCCCB
square
#843DCC #CC3D3E #85CC3D #3DCCCB
split-complementary
#843DCC #CCCB3D #3ECC3D
monochromatic
#471E71 #652AA1 #843DCC #A36DD9 #C19EE5

Accessibility & contrast

On white

5.96
#843DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#843DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843DCC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843DCC#FFFFFF#000000##FFFFFF
##843DCC1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #843dcc;
/* rgb */ color: rgb(132, 61, 204);
/* oklch */ color: oklch(52.7% 0.210 302.4);
Tailwind
colors: {
  custom: {
    50: '#ad78dc',
    500: '#843dcc',
    950: '#000000',
  },
}
SCSS
$custom: #843dcc;
$custom-light: #ad78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#843dcc",
  "rgb": {
    "r": 132,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 269.79,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52651,
    "c": 0.2097,
    "h": 302.4
  },
  "luminance": 0.12603
}

Semantic roles & 50–950 ramp

primary
#843DCC
secondary
#B3D293
accent
#E24694
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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