#843FC8#843FC8

#843FC8 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.203 H 303.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#843FC8
RGBrgb(132, 63, 200)
HSLhsl(270, 55%, 52%)
HSVhsv(270, 69%, 78%)
CMYKcmyk(34%, 68.5%, 0%, 21.6%)
CIE-LABlab(42.20, 54.80, -59.82)
CIE-LCHlch(42.20, 81.13, 312.49°)
OKLaboklab(52.59% 0.1108 -0.1701)
OKLCHoklch(52.59% 0.203 303.1)
XYZxyz(21.7161, 12.6307, 55.9263)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FC8 #83C83F
analogous
#403FC8 #843FC8 #C83FC8
triadic
#843FC8 #C8843F #3FC884
tetradic
#843FC8 #C8403F #83C83F #3FC8C8
square
#843FC8 #C8403F #83C83F #3FC8C8
split-complementary
#843FC8 #C8C83F #3FC840
monochromatic
#471F6D #652D9D #843FC8 #A26FD6 #C19EE3

Accessibility & contrast

On white

5.96
#843FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#843FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843FC8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843FC8#FFFFFF#000000##FFFFFF
##843FC81.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#765F7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #843fc8;
/* rgb */ color: rgb(132, 63, 200);
/* oklch */ color: oklch(52.6% 0.203 303.1);
Tailwind
colors: {
  custom: {
    50: '#ad79da',
    500: '#843fc8',
    950: '#000000',
  },
}
SCSS
$custom: #843fc8;
$custom-light: #ad79da;
$custom-dark: #000000;
JSON
{
  "hex": "#843fc8",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 270.219,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5259,
    "c": 0.20302,
    "h": 303.1
  },
  "luminance": 0.12631
}

Semantic roles & 50–950 ramp

primary
#843FC8
secondary
#B1D093
accent
#DF4993
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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