#843897#843897

#843897 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.4% C 0.162 H 319.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#843897
RGBrgb(132, 56, 151)
HSLhsl(288, 46%, 41%)
HSVhsv(288, 63%, 59%)
CMYKcmyk(12.6%, 62.9%, 0%, 40.8%)
CIE-LABlab(37.79, 47.17, -37.88)
CIE-LCHlch(37.79, 60.49, 321.24°)
OKLaboklab(48.39% 0.1221 -0.1057)
OKLCHoklch(48.39% 0.162 319.1)
XYZxyz(16.5151, 9.9690, 30.3264)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#843897 #4B9738
analogous
#543897 #843897 #97387A
triadic
#843897 #978438 #389784
tetradic
#843897 #975438 #4B9738 #387A97
square
#843897 #975438 #4B9738 #387A97
split-complementary
#843897 #7A9738 #389754
monochromatic
#36173E #5D276A #843897 #A74FBE #BE7BCE

Accessibility & contrast

On white

7.01
#843897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#843897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #843897
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##843897#FFFFFF#000000##FFFFFF
##8438971.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#3E5C95
Tritanopia (blue-blind)
#844862
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #843897;
/* rgb */ color: rgb(132, 56, 151);
/* oklch */ color: oklch(48.4% 0.162 319.1);
Tailwind
colors: {
  custom: {
    50: '#aa74b6',
    500: '#843897',
    950: '#000000',
  },
}
SCSS
$custom: #843897;
$custom-light: #aa74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#843897",
  "rgb": {
    "r": 132,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 288,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4839,
    "c": 0.16155,
    "h": 319.1
  },
  "luminance": 0.09968
}

Semantic roles & 50–950 ramp

primary
#843897
secondary
#81B773
accent
#D6526D
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #843897

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

Preview Lab → · Contrast checker → · Palette generator →

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