#845F8A#845F8A

#845F8A is a mid, moderate purple. Relative luminance 0.149; OKLCH L 54.0% C 0.079 H 321.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#845F8A
RGBrgb(132, 95, 138)
HSLhsl(292, 18%, 46%)
HSVhsv(292, 31%, 54%)
CMYKcmyk(4.3%, 31.2%, 0%, 45.9%)
CIE-LABlab(45.53, 22.94, -17.93)
CIE-LCHlch(45.53, 29.12, 321.99°)
OKLaboklab(53.95% 0.0618 -0.0487)
OKLCHoklch(53.95% 0.079 321.7)
XYZxyz(18.1948, 14.9254, 25.9623)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845F8A #658A5F
analogous
#6E5F8A #845F8A #8A5F7A
triadic
#845F8A #8A845F #5F8A84
tetradic
#845F8A #8A6E5F #658A5F #5F7A8A
square
#845F8A #8A6E5F #658A5F #5F7A8A
split-complementary
#845F8A #7A8A5F #5F8A6E
monochromatic
#3F2D42 #614666 #845F8A #A17FA7 #BCA3C0

Accessibility & contrast

On white

5.27
#845F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#845F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845F8A
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845F8A#FFFFFF#000000##FFFFFF
##845F8A1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B698C
Deuteranopia (green-blind)
#636D89
Tritanopia (blue-blind)
#85636F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #845f8a;
/* rgb */ color: rgb(132, 95, 138);
/* oklch */ color: oklch(54.0% 0.079 321.7);
Tailwind
colors: {
  custom: {
    50: '#a88dac',
    500: '#845f8a',
    950: '#000000',
  },
}
SCSS
$custom: #845f8a;
$custom-light: #a88dac;
$custom-dark: #000000;
JSON
{
  "hex": "#845f8a",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 291.628,
    "s": 18.455,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53952,
    "c": 0.07871,
    "h": 321.7
  },
  "luminance": 0.14925
}

Semantic roles & 50–950 ramp

primary
#845F8A
secondary
#9AAE96
accent
#BB6D78
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #845F8A

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

Preview Lab → · Contrast checker → · Palette generator →

#845F8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva