#845099#845099

#845099 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.0% C 0.124 H 315.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#845099
RGBrgb(132, 80, 153)
HSLhsl(283, 31%, 46%)
HSVhsv(283, 48%, 60%)
CMYKcmyk(13.7%, 47.7%, 0%, 40%)
CIE-LABlab(42.68, 34.92, -31.35)
CIE-LCHlch(42.68, 46.93, 318.08°)
OKLaboklab(52.02% 0.0887 -0.087)
OKLCHoklch(52.02% 0.124 315.6)
XYZxyz(18.1333, 12.9433, 31.6739)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845099 #659950
analogous
#605099 #845099 #995089
triadic
#845099 #998450 #509984
tetradic
#845099 #996050 #659950 #508999
square
#845099 #996050 #659950 #508999
split-complementary
#845099 #899950 #509960
monochromatic
#3F2649 #613B71 #845099 #A171B5 #BC99CA

Accessibility & contrast

On white

5.85
#845099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#845099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845099
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845099#FFFFFF#000000##FFFFFF
##8450991.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629C
Deuteranopia (green-blind)
#506697
Tritanopia (blue-blind)
#835B6D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #845099;
/* rgb */ color: rgb(132, 80, 153);
/* oklch */ color: oklch(52.0% 0.124 315.6);
Tailwind
colors: {
  custom: {
    50: '#a983b7',
    500: '#845099',
    950: '#000000',
  },
}
SCSS
$custom: #845099;
$custom-light: #a983b7;
$custom-dark: #000000;
JSON
{
  "hex": "#845099",
  "rgb": {
    "r": 132,
    "g": 80,
    "b": 153
  },
  "hsl": {
    "h": 282.74,
    "s": 31.33,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.12425,
    "h": 315.6
  },
  "luminance": 0.12943
}

Semantic roles & 50–950 ramp

primary
#845099
secondary
#9AB78E
accent
#C8607E
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #845099

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

Preview Lab → · Contrast checker → · Palette generator →

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