#845189#845189

#845189 is a mid, moderate purple. Relative luminance 0.126; OKLCH L 51.4% C 0.104 H 323.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#845189
RGBrgb(132, 81, 137)
HSLhsl(295, 26%, 43%)
HSVhsv(295, 41%, 54%)
CMYKcmyk(3.6%, 40.9%, 0%, 46.3%)
CIE-LABlab(42.15, 30.92, -22.53)
CIE-LCHlch(42.15, 38.26, 323.91°)
OKLaboklab(51.38% 0.0841 -0.0617)
OKLCHoklch(51.38% 0.104 323.7)
XYZxyz(16.9730, 12.5972, 25.1995)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845189 #568951
analogous
#685189 #845189 #895172
triadic
#845189 #898451 #518984
tetradic
#845189 #896851 #568951 #517289
square
#845189 #896851 #568951 #517289
split-complementary
#845189 #728951 #518968
monochromatic
#3A243C #5F3A63 #845189 #A46EA9 #BC94C0

Accessibility & contrast

On white

5.97
#845189 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#845189 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845189
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845189#FFFFFF#000000##FFFFFF
##8451891.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608B
Deuteranopia (green-blind)
#586687
Tritanopia (blue-blind)
#865766
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #845189;
/* rgb */ color: rgb(132, 81, 137);
/* oklch */ color: oklch(51.4% 0.104 323.7);
Tailwind
colors: {
  custom: {
    50: '#a983ab',
    500: '#845189',
    950: '#000000',
  },
}
SCSS
$custom: #845189;
$custom-light: #a983ab;
$custom-dark: #000000;
JSON
{
  "hex": "#845189",
  "rgb": {
    "r": 132,
    "g": 81,
    "b": 137
  },
  "hsl": {
    "h": 294.643,
    "s": 25.688,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51381,
    "c": 0.10426,
    "h": 323.7
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#845189
secondary
#8CAD89
accent
#C2666E
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #845189

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

Preview Lab → · Contrast checker → · Palette generator →

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