#843FCA#843FCA

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

Color values

HEX#843FCA
RGBrgb(132, 63, 202)
HSLhsl(270, 57%, 52%)
HSVhsv(270, 69%, 79%)
CMYKcmyk(34.7%, 68.8%, 0%, 20.8%)
CIE-LABlab(42.35, 55.28, -60.75)
CIE-LCHlch(42.35, 82.14, 312.30°)
OKLaboklab(52.74% 0.1105 -0.1729)
OKLCHoklch(52.74% 0.205 302.6)
XYZxyz(21.9514, 12.7248, 57.1653)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FCA #85CA3F
analogous
#3F40CA #843FCA #CA3FCA
triadic
#843FCA #CA843F #3FCA84
tetradic
#843FCA #CA3F40 #85CA3F #3FCACA
square
#843FCA #CA3F40 #85CA3F #3FCACA
split-complementary
#843FCA #CACA3F #40CA3F
monochromatic
#471F70 #652CA0 #843FCA #A36FD7 #C19FE4

Accessibility & contrast

On white

5.92
#843FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #843FCA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843FCA#FFFFFF#000000##FFFFFF
##843FCA1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#765F80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #843fca;
/* rgb */ color: rgb(132, 63, 202);
/* oklch */ color: oklch(52.7% 0.205 302.6);
Tailwind
colors: {
  custom: {
    50: '#ad79db',
    500: '#843fca',
    950: '#000000',
  },
}
SCSS
$custom: #843fca;
$custom-light: #ad79db;
$custom-dark: #000000;
JSON
{
  "hex": "#843fca",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 269.784,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52738,
    "c": 0.20516,
    "h": 302.6
  },
  "luminance": 0.12725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #843FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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