#843787#843787

#843787 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.3% C 0.148 H 326.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#843787
RGBrgb(132, 55, 135)
HSLhsl(298, 42%, 37%)
HSVhsv(298, 59%, 53%)
CMYKcmyk(2.2%, 59.3%, 0%, 47.1%)
CIE-LABlab(36.72, 44.48, -29.79)
CIE-LCHlch(36.72, 53.53, 326.19°)
OKLaboklab(47.33% 0.1225 -0.0823)
OKLCHoklch(47.33% 0.148 326.1)
XYZxyz(15.2548, 9.3881, 23.9256)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843787 #3A8737
analogous
#5C3787 #843787 #873762
triadic
#843787 #878437 #378784
tetradic
#843787 #875C37 #3A8737 #376287
square
#843787 #875C37 #3A8737 #376287
split-complementary
#843787 #628737 #37875C
monochromatic
#2F1430 #59255C #843787 #AF49B2 #C373C6

Accessibility & contrast

On white

7.30
#843787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#843787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #843787
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843787#FFFFFF#000000##FFFFFF
##8437871.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5089
Deuteranopia (green-blind)
#475A85
Tritanopia (blue-blind)
#87415A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #843787;
/* rgb */ color: rgb(132, 55, 135);
/* oklch */ color: oklch(47.3% 0.148 326.1);
Tailwind
colors: {
  custom: {
    50: '#aa73aa',
    500: '#843787',
    950: '#000000',
  },
}
SCSS
$custom: #843787;
$custom-light: #aa73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#843787",
  "rgb": {
    "r": 132,
    "g": 55,
    "b": 135
  },
  "hsl": {
    "h": 297.75,
    "s": 42.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47326,
    "c": 0.14756,
    "h": 326.1
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#843787
secondary
#6EAF6B
accent
#D2565B
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #843787

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

Preview Lab → · Contrast checker → · Palette generator →

#843787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva