#843DCB#843DCB

#843DCB is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.209 H 302.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#843DCB
RGBrgb(132, 61, 203)
HSLhsl(270, 58%, 52%)
HSVhsv(270, 70%, 80%)
CMYKcmyk(35%, 70%, 0%, 20.4%)
CIE-LABlab(42.08, 56.45, -61.75)
CIE-LCHlch(42.08, 83.67, 312.43°)
OKLaboklab(52.58% 0.1124 -0.1758)
OKLCHoklch(52.58% 0.209 302.6)
XYZxyz(21.9614, 12.5548, 57.7547)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843DCB #84CB3D
analogous
#3D3DCB #843DCB #CB3DCB
triadic
#843DCB #CB843D #3DCB84
tetradic
#843DCB #CB3D3D #84CB3D #3DCBCB
square
#843DCB #CB3D3D #84CB3D #3DCBCB
split-complementary
#843DCB #CBCB3D #3DCB3D
monochromatic
#471E70 #652BA0 #843DCB #A36DD8 #C19EE5

Accessibility & contrast

On white

5.98
#843DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#843DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843DCB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843DCB#FFFFFF#000000##FFFFFF
##843DCB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #843dcb;
/* rgb */ color: rgb(132, 61, 203);
/* oklch */ color: oklch(52.6% 0.209 302.6);
Tailwind
colors: {
  custom: {
    50: '#ad78dc',
    500: '#843dcb',
    950: '#000000',
  },
}
SCSS
$custom: #843dcb;
$custom-light: #ad78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#843dcb",
  "rgb": {
    "r": 132,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 270,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52575,
    "c": 0.20865,
    "h": 302.6
  },
  "luminance": 0.12555
}

Semantic roles & 50–950 ramp

primary
#843DCB
secondary
#B2D193
accent
#E14794
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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