#845BBF#845BBF

#845BBF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.0% C 0.153 H 300.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#845BBF
RGBrgb(132, 91, 191)
HSLhsl(265, 44%, 55%)
HSVhsv(265, 52%, 75%)
CMYKcmyk(30.9%, 52.4%, 0%, 25.1%)
CIE-LABlab(47.17, 37.75, -46.62)
CIE-LCHlch(47.17, 59.98, 309.00°)
OKLaboklab(56.03% 0.0774 -0.1314)
OKLCHoklch(56.03% 0.153 300.5)
XYZxyz(22.6586, 16.1492, 51.2035)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BBF #96BF5B
analogous
#5B64BF #845BBF #B65BBF
triadic
#845BBF #BF845B #5BBF84
tetradic
#845BBF #BF5B64 #96BF5B #5BBFB6
square
#845BBF #BF5B64 #96BF5B #5BBFB6
split-complementary
#845BBF #BFB65B #64BF5B
monochromatic
#492D73 #663E9F #845BBF #A587D0 #C6B3E1

Accessibility & contrast

On white

4.96
#845BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#845BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845BBF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BBF#FFFFFF#000000##FFFFFF
##845BBF1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376FC2
Deuteranopia (green-blind)
#436FBD
Tritanopia (blue-blind)
#786E84
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #845bbf;
/* rgb */ color: rgb(132, 91, 191);
/* oklch */ color: oklch(56.0% 0.153 300.5);
Tailwind
colors: {
  custom: {
    50: '#ab8ad3',
    500: '#845bbf',
    950: '#000000',
  },
}
SCSS
$custom: #845bbf;
$custom-light: #ab8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#845bbf",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 264.6,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56025,
    "c": 0.15254,
    "h": 300.5
  },
  "luminance": 0.16149
}

Semantic roles & 50–950 ramp

primary
#845BBF
secondary
#BFD0A6
accent
#D4549F
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #845BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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