#845F99#845F99

#845F99 is a mid, moderate violet. Relative luminance 0.154; OKLCH L 54.6% C 0.097 H 312.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#845F99
RGBrgb(132, 95, 153)
HSLhsl(278, 23%, 49%)
HSVhsv(278, 38%, 60%)
CMYKcmyk(13.7%, 37.9%, 0%, 40%)
CIE-LABlab(46.16, 26.22, -25.91)
CIE-LCHlch(46.16, 36.86, 315.35°)
OKLaboklab(54.64% 0.0658 -0.0714)
OKLCHoklch(54.64% 0.097 312.7)
XYZxyz(19.3567, 15.3902, 32.0817)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845F99 #74995F
analogous
#675F99 #845F99 #995F91
triadic
#845F99 #99845F #5F9984
tetradic
#845F99 #99675F #74995F #5F9199
square
#845F99 #99675F #74995F #5F9199
split-complementary
#845F99 #91995F #5F9967
monochromatic
#43304D #634873 #845F99 #A183B2 #BEA9CA

Accessibility & contrast

On white

5.15
#845F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#845F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845F99
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845F99#FFFFFF#000000##FFFFFF
##845F991.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556B9B
Deuteranopia (green-blind)
#5D6E97
Tritanopia (blue-blind)
#826775
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #845f99;
/* rgb */ color: rgb(132, 95, 153);
/* oklch */ color: oklch(54.6% 0.097 312.7);
Tailwind
colors: {
  custom: {
    50: '#a88db7',
    500: '#845f99',
    950: '#000000',
  },
}
SCSS
$custom: #845f99;
$custom-light: #a88db7;
$custom-dark: #000000;
JSON
{
  "hex": "#845f99",
  "rgb": {
    "r": 132,
    "g": 95,
    "b": 153
  },
  "hsl": {
    "h": 278.276,
    "s": 23.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5464,
    "c": 0.09709,
    "h": 312.7
  },
  "luminance": 0.1539
}

Semantic roles & 50–950 ramp

primary
#845F99
secondary
#A6B89C
accent
#C06888
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C11
muted
#7F7D80

Preview Lab

Preview with #845F99

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

Preview Lab → · Contrast checker → · Palette generator →

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