#843EAF#843EAF

#843EAF is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.178 H 310.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#843EAF
RGBrgb(132, 62, 175)
HSLhsl(277, 48%, 46%)
HSVhsv(277, 65%, 69%)
CMYKcmyk(24.6%, 64.6%, 0%, 31.4%)
CIE-LABlab(40.32, 49.46, -48.20)
CIE-LCHlch(40.32, 69.06, 315.74°)
OKLaboklab(50.7% 0.1143 -0.136)
OKLCHoklch(50.7% 0.178 310)
XYZxyz(18.9747, 11.4463, 41.7589)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843EAF #69AF3E
analogous
#4C3EAF #843EAF #AF3EA2
triadic
#843EAF #AF843E #3EAF84
tetradic
#843EAF #AF4C3E #69AF3E #3EA2AF
square
#843EAF #AF4C3E #69AF3E #3EA2AF
split-complementary
#843EAF #A2AF3E #3EAF4C
monochromatic
#401E55 #622E82 #843EAF #A163C8 #BC90D8

Accessibility & contrast

On white

6.38
#843EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#843EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #843EAF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843EAF#FFFFFF#000000##FFFFFF
##843EAF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #843eaf;
/* rgb */ color: rgb(132, 62, 175);
/* oklch */ color: oklch(50.7% 0.178 310.0);
Tailwind
colors: {
  custom: {
    50: '#ab78c7',
    500: '#843eaf',
    950: '#000000',
  },
}
SCSS
$custom: #843eaf;
$custom-light: #ab78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#843eaf",
  "rgb": {
    "r": 132,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 277.168,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50699,
    "c": 0.17765,
    "h": 310
  },
  "luminance": 0.11446
}

Semantic roles & 50–950 ramp

primary
#843EAF
secondary
#9DC386
accent
#D75184
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #843EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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