#845291#845291

#845291 is a mid, moderate purple. Relative luminance 0.130; OKLCH L 51.9% C 0.111 H 319.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#845291
RGBrgb(132, 82, 145)
HSLhsl(288, 28%, 45%)
HSVhsv(288, 43%, 57%)
CMYKcmyk(9%, 43.4%, 0%, 43.1%)
CIE-LABlab(42.74, 32.03, -26.45)
CIE-LCHlch(42.74, 41.54, 320.45°)
OKLaboklab(51.94% 0.0843 -0.0729)
OKLCHoklch(51.94% 0.111 319.1)
XYZxyz(17.6432, 12.9850, 28.3595)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845291 #5F9152
analogous
#655291 #845291 #91527F
triadic
#845291 #918452 #529184
tetradic
#845291 #916552 #5F9152 #527F91
square
#845291 #916552 #5F9152 #527F91
split-complementary
#845291 #7F9152 #529165
monochromatic
#3D2643 #603C6A #845291 #A271AF #BC98C5

Accessibility & contrast

On white

5.84
#845291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#845291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845291
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845291#FFFFFF#000000##FFFFFF
##8452911.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496293
Deuteranopia (green-blind)
#56678F
Tritanopia (blue-blind)
#845A6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #845291;
/* rgb */ color: rgb(132, 82, 145);
/* oklch */ color: oklch(51.9% 0.111 319.1);
Tailwind
colors: {
  custom: {
    50: '#a984b1',
    500: '#845291',
    950: '#000000',
  },
}
SCSS
$custom: #845291;
$custom-light: #a984b1;
$custom-dark: #000000;
JSON
{
  "hex": "#845291",
  "rgb": {
    "r": 132,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 287.619,
    "s": 27.753,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51943,
    "c": 0.11139,
    "h": 319.1
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#845291
secondary
#94B28D
accent
#C46478
background
#FAF8FA
surface
#F4EFF5
border
#CECACF
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #845291

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

Preview Lab → · Contrast checker → · Palette generator →

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