#843FAF#843FAF

#843FAF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.176 H 309.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#843FAF
RGBrgb(132, 63, 175)
HSLhsl(277, 47%, 47%)
HSVhsv(277, 64%, 69%)
CMYKcmyk(24.6%, 64%, 0%, 31.4%)
CIE-LABlab(40.50, 48.96, -47.91)
CIE-LCHlch(40.50, 68.51, 315.62°)
OKLaboklab(50.83% 0.1131 -0.1352)
OKLCHoklch(50.83% 0.176 309.9)
XYZxyz(19.0296, 11.5561, 41.7772)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843FAF #6AAF3F
analogous
#4C3FAF #843FAF #AF3FA2
triadic
#843FAF #AF843F #3FAF84
tetradic
#843FAF #AF4C3F #6AAF3F #3FA2AF
square
#843FAF #AF4C3F #6AAF3F #3FA2AF
split-complementary
#843FAF #A2AF3F #3FAF4C
monochromatic
#401F55 #622F82 #843FAF #A164C7 #BC91D7

Accessibility & contrast

On white

6.34
#843FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#843FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843FAF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843FAF#FFFFFF#000000##FFFFFF
##843FAF1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#3061AC
Tritanopia (blue-blind)
#7E5571
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #843faf;
/* rgb */ color: rgb(132, 63, 175);
/* oklch */ color: oklch(50.8% 0.176 309.9);
Tailwind
colors: {
  custom: {
    50: '#ab78c7',
    500: '#843faf',
    950: '#000000',
  },
}
SCSS
$custom: #843faf;
$custom-light: #ab78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#843faf",
  "rgb": {
    "r": 132,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 276.964,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50828,
    "c": 0.17624,
    "h": 309.9
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

primary
#843FAF
secondary
#9EC387
accent
#D75184
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #843FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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