#843FC9#843FC9

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

Color values

HEX#843FC9
RGBrgb(132, 63, 201)
HSLhsl(270, 56%, 52%)
HSVhsv(270, 69%, 79%)
CMYKcmyk(34.3%, 68.7%, 0%, 21.2%)
CIE-LABlab(42.27, 55.04, -60.29)
CIE-LCHlch(42.27, 81.63, 312.40°)
OKLaboklab(52.66% 0.1106 -0.1715)
OKLCHoklch(52.66% 0.204 302.8)
XYZxyz(21.8334, 12.6776, 56.5438)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FC9 #84C93F
analogous
#3F3FC9 #843FC9 #C93FC9
triadic
#843FC9 #C9843F #3FC984
tetradic
#843FC9 #C93F3F #84C93F #3FC9C9
square
#843FC9 #C93F3F #84C93F #3FC9C9
split-complementary
#843FC9 #C9C93F #3FC93F
monochromatic
#471F6F #652D9E #843FC9 #A36FD6 #C19FE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##843FC9#FFFFFF#000000##FFFFFF
##843FC91.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)
#0063CD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#765F7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #843fc9;
/* rgb */ color: rgb(132, 63, 201);
/* oklch */ color: oklch(52.7% 0.204 302.8);
Tailwind
colors: {
  custom: {
    50: '#ad79da',
    500: '#843fc9',
    950: '#000000',
  },
}
SCSS
$custom: #843fc9;
$custom-light: #ad79da;
$custom-dark: #000000;
JSON
{
  "hex": "#843fc9",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 201
  },
  "hsl": {
    "h": 270,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52664,
    "c": 0.20409,
    "h": 302.8
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#843FC9
secondary
#B2D094
accent
#DF4894
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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