#845F89#845F89

#845F89 is a mid, moderate purple. Relative luminance 0.149; OKLCH L 53.9% C 0.078 H 322.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#845F89
RGBrgb(132, 95, 137)
HSLhsl(293, 18%, 45%)
HSVhsv(293, 31%, 54%)
CMYKcmyk(3.6%, 30.7%, 0%, 46.3%)
CIE-LABlab(45.49, 22.73, -17.39)
CIE-LCHlch(45.49, 28.62, 322.58°)
OKLaboklab(53.91% 0.0615 -0.0472)
OKLCHoklch(53.91% 0.078 322.5)
XYZxyz(18.1227, 14.8966, 25.5827)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845F89 #64895F
analogous
#6F5F89 #845F89 #895F79
triadic
#845F89 #89845F #5F8984
tetradic
#845F89 #896F5F #64895F #5F7989
square
#845F89 #896F5F #64895F #5F7989
split-complementary
#845F89 #79895F #5F896F
monochromatic
#3E2D41 #614665 #845F89 #A27FA6 #BCA3BF

Accessibility & contrast

On white

5.28
#845F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #845F89
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845F89#FFFFFF#000000##FFFFFF
##845F891.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B698B
Deuteranopia (green-blind)
#646D88
Tritanopia (blue-blind)
#85636E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #845f89;
/* rgb */ color: rgb(132, 95, 137);
/* oklch */ color: oklch(53.9% 0.078 322.5);
Tailwind
colors: {
  custom: {
    50: '#a88dab',
    500: '#845f89',
    950: '#000000',
  },
}
SCSS
$custom: #845f89;
$custom-light: #a88dab;
$custom-dark: #000000;
JSON
{
  "hex": "#845f89",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 137
  },
  "hsl": {
    "h": 292.857,
    "s": 18.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53909,
    "c": 0.07754,
    "h": 322.5
  },
  "luminance": 0.14896
}

Semantic roles & 50–950 ramp

primary
#845F89
secondary
#99AE96
accent
#BB6D76
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C10
muted
#7F7D7F

Preview Lab

Preview with #845F89

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

Preview Lab → · Contrast checker → · Palette generator →

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