#843FE0#843FE0

#843FE0 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.4% C 0.228 H 297.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#843FE0
RGBrgb(132, 63, 224)
HSLhsl(266, 72%, 56%)
HSVhsv(266, 72%, 88%)
CMYKcmyk(41.1%, 71.9%, 0%, 12.2%)
CIE-LABlab(44.01, 60.62, -70.68)
CIE-LCHlch(44.01, 93.12, 310.62°)
OKLaboklab(54.44% 0.1066 -0.2021)
OKLCHoklch(54.44% 0.228 297.8)
XYZxyz(24.7443, 13.8419, 71.8746)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FE0 #9BE03F
analogous
#3F4BE0 #843FE0 #D43FE0
triadic
#843FE0 #E0843F #3FE084
tetradic
#843FE0 #E03F4B #9BE03F #3FE0D4
square
#843FE0 #E03F4B #9BE03F #3FE0D4
split-complementary
#843FE0 #E0D43F #4BE03F
monochromatic
#4A178E #651FC2 #843FE0 #A674E9 #C8A8F1

Accessibility & contrast

On white

5.57
#843FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#843FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843FE0
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843FE0#FFFFFF#000000##FFFFFF
##843FE01.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E5
Deuteranopia (green-blind)
#0066DD
Tritanopia (blue-blind)
#6D688C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #843fe0;
/* rgb */ color: rgb(132, 63, 224);
/* oklch */ color: oklch(54.4% 0.228 297.8);
Tailwind
colors: {
  custom: {
    50: '#af7aeb',
    500: '#843fe0',
    950: '#000000',
  },
}
SCSS
$custom: #843fe0;
$custom-light: #af7aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#843fe0",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 224
  },
  "hsl": {
    "h": 265.714,
    "s": 72.197,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54437,
    "c": 0.22848,
    "h": 297.8
  },
  "luminance": 0.13842
}

Semantic roles & 50–950 ramp

primary
#843FE0
secondary
#C2DF9C
accent
#EF39A1
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #843FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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