#844797#844797

#844797 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.5% C 0.138 H 317.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#844797
RGBrgb(132, 71, 151)
HSLhsl(286, 36%, 44%)
HSVhsv(286, 53%, 59%)
CMYKcmyk(12.6%, 53%, 0%, 40.8%)
CIE-LABlab(40.65, 39.48, -33.34)
CIE-LCHlch(40.65, 51.67, 319.82°)
OKLaboklab(50.49% 0.1017 -0.0927)
OKLCHoklch(50.49% 0.138 317.7)
XYZxyz(17.3541, 11.6470, 30.6061)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#844797 #5A9747
analogous
#5C4797 #844797 #974782
triadic
#844797 #978447 #479784
tetradic
#844797 #975C47 #5A9747 #478297
square
#844797 #975C47 #5A9747 #478297
split-complementary
#844797 #829747 #47975C
monochromatic
#3B2044 #60336D #844797 #A365B6 #BC8ECA

Accessibility & contrast

On white

6.31
#844797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#844797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #844797
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##844797#FFFFFF#000000##FFFFFF
##8447971.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#4A6295
Tritanopia (blue-blind)
#845368
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #844797;
/* rgb */ color: rgb(132, 71, 151);
/* oklch */ color: oklch(50.5% 0.138 317.7);
Tailwind
colors: {
  custom: {
    50: '#aa7db6',
    500: '#844797',
    950: '#000000',
  },
}
SCSS
$custom: #844797;
$custom-light: #aa7db6;
$custom-dark: #000000;
JSON
{
  "hex": "#844797",
  "rgb": {
    "r": 132,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 285.75,
    "s": 36.036,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50485,
    "c": 0.13757,
    "h": 317.7
  },
  "luminance": 0.11646
}

Semantic roles & 50–950 ramp

primary
#844797
secondary
#90B684
accent
#CC5C76
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #844797

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

Preview Lab → · Contrast checker → · Palette generator →

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