#843ED4#843ED4

#843ED4 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.4% C 0.217 H 300.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#843ED4
RGBrgb(132, 62, 212)
HSLhsl(268, 64%, 54%)
HSVhsv(268, 71%, 83%)
CMYKcmyk(37.7%, 70.8%, 0%, 16.9%)
CIE-LABlab(42.92, 58.15, -65.59)
CIE-LCHlch(42.92, 87.65, 311.56°)
OKLaboklab(53.38% 0.1099 -0.1871)
OKLCHoklch(53.38% 0.217 300.4)
XYZxyz(23.1191, 13.1041, 63.5859)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843ED4 #8ED43E
analogous
#3E43D4 #843ED4 #CF3ED4
triadic
#843ED4 #D4843E #3ED484
tetradic
#843ED4 #D43E43 #8ED43E #3ED4CF
square
#843ED4 #D43E43 #8ED43E #3ED4CF
split-complementary
#843ED4 #D4CF3E #43D43E
monochromatic
#491C7C #6627AE #843ED4 #A470DF #C4A2EA

Accessibility & contrast

On white

5.80
#843ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#843ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843ED4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843ED4#FFFFFF#000000##FFFFFF
##843ED41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#0064D1
Tritanopia (blue-blind)
#726385
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #843ed4;
/* rgb */ color: rgb(132, 62, 212);
/* oklch */ color: oklch(53.4% 0.217 300.4);
Tailwind
colors: {
  custom: {
    50: '#ae79e2',
    500: '#843ed4',
    950: '#000000',
  },
}
SCSS
$custom: #843ed4;
$custom-light: #ae79e2;
$custom-dark: #000000;
JSON
{
  "hex": "#843ed4",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 212
  },
  "hsl": {
    "h": 268,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53379,
    "c": 0.21696,
    "h": 300.4
  },
  "luminance": 0.13104
}

Semantic roles & 50–950 ramp

primary
#843ED4
secondary
#B9D797
accent
#E74199
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110915
muted
#807B84

Preview Lab

Preview with #843ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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