#843EBB#843EBB

#843EBB is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.190 H 306.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#843EBB
RGBrgb(132, 62, 187)
HSLhsl(274, 50%, 49%)
HSVhsv(274, 67%, 73%)
CMYKcmyk(29.4%, 66.8%, 0%, 26.7%)
CIE-LABlab(41.12, 52.21, -53.99)
CIE-LCHlch(41.12, 75.11, 314.04°)
OKLaboklab(51.53% 0.1134 -0.153)
OKLCHoklch(51.53% 0.19 306.5)
XYZxyz(20.2061, 11.9388, 48.2440)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843EBB #75BB3E
analogous
#463EBB #843EBB #BB3EB4
triadic
#843EBB #BB843E #3EBB84
tetradic
#843EBB #BB463E #75BB3E #3EB4BB
square
#843EBB #BB463E #75BB3E #3EB4BB
split-complementary
#843EBB #B4BB3E #3EBB46
monochromatic
#43205F #642F8D #843EBB #A169CD #BE97DC

Accessibility & contrast

On white

6.20
#843EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#843EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843EBB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843EBB#FFFFFF#000000##FFFFFF
##843EBB1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#1E61B8
Tritanopia (blue-blind)
#7B5977
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #843ebb;
/* rgb */ color: rgb(132, 62, 187);
/* oklch */ color: oklch(51.5% 0.190 306.5);
Tailwind
colors: {
  custom: {
    50: '#ac78d0',
    500: '#843ebb',
    950: '#000000',
  },
}
SCSS
$custom: #843ebb;
$custom-light: #ac78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#843ebb",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 273.6,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51526,
    "c": 0.19044,
    "h": 306.5
  },
  "luminance": 0.11939
}

Semantic roles & 50–950 ramp

primary
#843EBB
secondary
#A7C88D
accent
#DA4E8C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #843EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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