#843FCB#843FCB

#843FCB is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.206 H 302.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#843FCB
RGBrgb(132, 63, 203)
HSLhsl(270, 57%, 52%)
HSVhsv(270, 69%, 80%)
CMYKcmyk(35%, 69%, 0%, 20.4%)
CIE-LABlab(42.42, 55.52, -61.21)
CIE-LCHlch(42.42, 82.64, 312.21°)
OKLaboklab(52.81% 0.1103 -0.1742)
OKLCHoklch(52.81% 0.206 302.3)
XYZxyz(22.0702, 12.7723, 57.7909)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FCB #86CB3F
analogous
#3F40CB #843FCB #CA3FCB
triadic
#843FCB #CB843F #3FCB84
tetradic
#843FCB #CB3F40 #86CB3F #3FCBCA
square
#843FCB #CB3F40 #86CB3F #3FCBCA
split-complementary
#843FCB #CBCA3F #40CB3F
monochromatic
#471F71 #662CA1 #843FCB #A36FD8 #C29FE5

Accessibility & contrast

On white

5.91
#843FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#843FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843FCB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843FCB#FFFFFF#000000##FFFFFF
##843FCB1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#756080
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #843fcb;
/* rgb */ color: rgb(132, 63, 203);
/* oklch */ color: oklch(52.8% 0.206 302.3);
Tailwind
colors: {
  custom: {
    50: '#ad79dc',
    500: '#843fcb',
    950: '#000000',
  },
}
SCSS
$custom: #843fcb;
$custom-light: #ad79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#843fcb",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 269.571,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52813,
    "c": 0.20622,
    "h": 302.3
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#843FCB
secondary
#B3D194
accent
#E14795
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #843FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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