#843EBD#843EBD

#843EBD is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.7% C 0.193 H 306.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#843EBD
RGBrgb(132, 62, 189)
HSLhsl(273, 51%, 49%)
HSVhsv(273, 67%, 74%)
CMYKcmyk(30.2%, 67.2%, 0%, 25.9%)
CIE-LABlab(41.26, 52.68, -54.94)
CIE-LCHlch(41.26, 76.12, 313.79°)
OKLaboklab(51.67% 0.1132 -0.1558)
OKLCHoklch(51.67% 0.193 306)
XYZxyz(20.4217, 12.0251, 49.3795)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843EBD #77BD3E
analogous
#453EBD #843EBD #BD3EB7
triadic
#843EBD #BD843E #3EBD84
tetradic
#843EBD #BD453E #77BD3E #3EB7BD
square
#843EBD #BD453E #77BD3E #3EB7BD
split-complementary
#843EBD #B7BD3E #3EBD45
monochromatic
#442061 #642F8F #843EBD #A16ACE #BE98DD

Accessibility & contrast

On white

6.17
#843EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#843EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843EBD
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843EBD#FFFFFF#000000##FFFFFF
##843EBD1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#1A62BA
Tritanopia (blue-blind)
#7A5A78
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #843ebd;
/* rgb */ color: rgb(132, 62, 189);
/* oklch */ color: oklch(51.7% 0.193 306.0);
Tailwind
colors: {
  custom: {
    50: '#ac78d2',
    500: '#843ebd',
    950: '#000000',
  },
}
SCSS
$custom: #843ebd;
$custom-light: #ac78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#843ebd",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 273.071,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51668,
    "c": 0.19257,
    "h": 306
  },
  "luminance": 0.12025
}

Semantic roles & 50–950 ramp

primary
#843EBD
secondary
#A8C98E
accent
#DA4E8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #843EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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