#845A8D#845A8D

#845A8D is a mid, moderate purple. Relative luminance 0.141; OKLCH L 53.2% C 0.092 H 320.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#845A8D
RGBrgb(132, 90, 141)
HSLhsl(289, 22%, 45%)
HSVhsv(289, 36%, 55%)
CMYKcmyk(6.4%, 36.2%, 0%, 44.7%)
CIE-LABlab(44.44, 26.52, -21.42)
CIE-LCHlch(44.44, 34.09, 321.08°)
OKLaboklab(53.16% 0.0707 -0.0586)
OKLCHoklch(53.16% 0.092 320.4)
XYZxyz(17.9790, 14.1415, 26.9766)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845A8D #638D5A
analogous
#6A5A8D #845A8D #8D5A7C
triadic
#845A8D #8D845A #5A8D84
tetradic
#845A8D #8D6A5A #638D5A #5A7C8D
square
#845A8D #8D6A5A #638D5A #5A7C8D
split-complementary
#845A8D #7C8D5A #5A8D6A
monochromatic
#3E2A42 #614268 #845A8D #A27AAA #BC9FC2

Accessibility & contrast

On white

5.49
#845A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#845A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845A8D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845A8D#FFFFFF#000000##FFFFFF
##845A8D1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54668F
Deuteranopia (green-blind)
#5E6B8B
Tritanopia (blue-blind)
#85606D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #845a8d;
/* rgb */ color: rgb(132, 90, 141);
/* oklch */ color: oklch(53.2% 0.092 320.4);
Tailwind
colors: {
  custom: {
    50: '#a889ae',
    500: '#845a8d',
    950: '#000000',
  },
}
SCSS
$custom: #845a8d;
$custom-light: #a889ae;
$custom-dark: #000000;
JSON
{
  "hex": "#845a8d",
  "rgb": {
    "r": 132,
    "g": 90,
    "b": 141
  },
  "hsl": {
    "h": 289.412,
    "s": 22.078,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5316,
    "c": 0.0918,
    "h": 320.4
  },
  "luminance": 0.14141
}

Semantic roles & 50–950 ramp

primary
#845A8D
secondary
#98B093
accent
#BF6978
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #845A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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