#843BD2#843BD2

#843BD2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.218 H 301.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#843BD2
RGBrgb(132, 59, 210)
HSLhsl(269, 63%, 53%)
HSVhsv(269, 72%, 82%)
CMYKcmyk(37.1%, 71.9%, 0%, 17.6%)
CIE-LABlab(42.29, 59.02, -65.46)
CIE-LCHlch(42.29, 88.14, 312.04°)
OKLaboklab(52.88% 0.1131 -0.1867)
OKLCHoklch(52.88% 0.218 301.2)
XYZxyz(22.7097, 12.6865, 62.2126)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843BD2 #89D23B
analogous
#3B3DD2 #843BD2 #D03BD2
triadic
#843BD2 #D2843B #3BD284
tetradic
#843BD2 #D23B3D #89D23B #3BD2D0
square
#843BD2 #D23B3D #89D23B #3BD2D0
split-complementary
#843BD2 #D2D03B #3DD23B
monochromatic
#481B77 #6627A9 #843BD2 #A36DDD #C29FE9

Accessibility & contrast

On white

5.94
#843BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#843BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843BD2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843BD2#FFFFFF#000000##FFFFFF
##843BD21.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#736083
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #843bd2;
/* rgb */ color: rgb(132, 59, 210);
/* oklch */ color: oklch(52.9% 0.218 301.2);
Tailwind
colors: {
  custom: {
    50: '#ae77e1',
    500: '#843bd2',
    950: '#000000',
  },
}
SCSS
$custom: #843bd2;
$custom-light: #ae77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#843bd2",
  "rgb": {
    "r": 132,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 269.007,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52883,
    "c": 0.21829,
    "h": 301.2
  },
  "luminance": 0.12687
}

Semantic roles & 50–950 ramp

primary
#843BD2
secondary
#B5D594
accent
#E64297
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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