#843CBB#843CBB

#843CBB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.3% C 0.193 H 306.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#843CBB
RGBrgb(132, 60, 187)
HSLhsl(274, 51%, 48%)
HSVhsv(274, 68%, 73%)
CMYKcmyk(29.4%, 67.9%, 0%, 26.7%)
CIE-LABlab(40.78, 53.16, -54.54)
CIE-LCHlch(40.78, 76.17, 314.26°)
OKLaboklab(51.28% 0.1156 -0.1546)
OKLCHoklch(51.28% 0.193 306.8)
XYZxyz(20.0993, 11.7253, 48.2084)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843CBB #73BB3C
analogous
#453CBB #843CBB #BB3CB2
triadic
#843CBB #BB843C #3CBB84
tetradic
#843CBB #BB453C #73BB3C #3CB2BB
square
#843CBB #BB453C #73BB3C #3CB2BB
split-complementary
#843CBB #B2BB3C #3CBB45
monochromatic
#431E5E #632D8D #843CBB #A166CE #BE95DD

Accessibility & contrast

On white

6.28
#843CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#843CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843CBB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843CBB#FFFFFF#000000##FFFFFF
##843CBB1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#1A61B8
Tritanopia (blue-blind)
#7B5877
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #843cbb;
/* rgb */ color: rgb(132, 60, 187);
/* oklch */ color: oklch(51.3% 0.193 306.8);
Tailwind
colors: {
  custom: {
    50: '#ac77d0',
    500: '#843cbb',
    950: '#000000',
  },
}
SCSS
$custom: #843cbb;
$custom-light: #ac77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#843cbb",
  "rgb": {
    "r": 132,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 274.016,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.19306,
    "h": 306.8
  },
  "luminance": 0.11725
}

Semantic roles & 50–950 ramp

primary
#843CBB
secondary
#A5C88B
accent
#DB4D8A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #843CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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