#843FC7#843FC7

#843FC7 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.5% C 0.202 H 303.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#843FC7
RGBrgb(132, 63, 199)
HSLhsl(270, 55%, 51%)
HSVhsv(270, 68%, 78%)
CMYKcmyk(33.7%, 68.3%, 0%, 22%)
CIE-LABlab(42.13, 54.56, -59.36)
CIE-LCHlch(42.13, 80.63, 312.59°)
OKLaboklab(52.52% 0.1109 -0.1688)
OKLCHoklch(52.52% 0.202 303.3)
XYZxyz(21.5996, 12.5841, 55.3128)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FC7 #82C73F
analogous
#403FC7 #843FC7 #C73FC6
triadic
#843FC7 #C7843F #3FC784
tetradic
#843FC7 #C7403F #82C73F #3FC6C7
square
#843FC7 #C7403F #82C73F #3FC6C7
split-complementary
#843FC7 #C6C73F #3FC740
monochromatic
#46206C #652D9B #843FC7 #A26ED5 #C19EE3

Accessibility & contrast

On white

5.97
#843FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#843FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843FC7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843FC7#FFFFFF#000000##FFFFFF
##843FC71.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#775E7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #843fc7;
/* rgb */ color: rgb(132, 63, 199);
/* oklch */ color: oklch(52.5% 0.202 303.3);
Tailwind
colors: {
  custom: {
    50: '#ad79d9',
    500: '#843fc7',
    950: '#000000',
  },
}
SCSS
$custom: #843fc7;
$custom-light: #ad79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#843fc7",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 270.441,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52516,
    "c": 0.20196,
    "h": 303.3
  },
  "luminance": 0.12584
}

Semantic roles & 50–950 ramp

primary
#843FC7
secondary
#B0CF93
accent
#DE4A93
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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