#843ED3#843ED3

#843ED3 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.3% C 0.216 H 300.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#843ED3
RGBrgb(132, 62, 211)
HSLhsl(268, 63%, 54%)
HSVhsv(268, 71%, 83%)
CMYKcmyk(37.4%, 70.6%, 0%, 17.3%)
CIE-LABlab(42.84, 57.91, -65.13)
CIE-LCHlch(42.84, 87.15, 311.64°)
OKLaboklab(53.3% 0.1101 -0.1857)
OKLCHoklch(53.3% 0.216 300.6)
XYZxyz(22.9933, 13.0538, 62.9236)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843ED3 #8DD33E
analogous
#3E42D3 #843ED3 #CE3ED3
triadic
#843ED3 #D3843E #3ED384
tetradic
#843ED3 #D33E42 #8DD33E #3ED3CE
square
#843ED3 #D33E42 #8DD33E #3ED3CE
split-complementary
#843ED3 #D3CE3E #42D33E
monochromatic
#481C7B #6627AC #843ED3 #A470DE #C4A2EA

Accessibility & contrast

On white

5.82
#843ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#843ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843ED3
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843ED3#FFFFFF#000000##FFFFFF
##843ED31.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#726284
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #843ed3;
/* rgb */ color: rgb(132, 62, 211);
/* oklch */ color: oklch(53.3% 0.216 300.6);
Tailwind
colors: {
  custom: {
    50: '#ae79e1',
    500: '#843ed3',
    950: '#000000',
  },
}
SCSS
$custom: #843ed3;
$custom-light: #ae79e1;
$custom-dark: #000000;
JSON
{
  "hex": "#843ed3",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 211
  },
  "hsl": {
    "h": 268.188,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53302,
    "c": 0.2159,
    "h": 300.6
  },
  "luminance": 0.13054
}

Semantic roles & 50–950 ramp

primary
#843ED3
secondary
#B8D696
accent
#E64299
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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