#845BBE#845BBE

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

Color values

HEX#845BBE
RGBrgb(132, 91, 190)
HSLhsl(265, 43%, 55%)
HSVhsv(265, 52%, 75%)
CMYKcmyk(30.5%, 52.1%, 0%, 25.5%)
CIE-LABlab(47.11, 37.49, -46.13)
CIE-LCHlch(47.11, 59.44, 309.10°)
OKLaboklab(55.96% 0.0773 -0.13)
OKLCHoklch(55.96% 0.151 300.7)
XYZxyz(22.5489, 16.1053, 50.6259)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BBE #95BE5B
analogous
#5B64BE #845BBE #B55BBE
triadic
#845BBE #BE845B #5BBE84
tetradic
#845BBE #BE5B64 #95BE5B #5BBEB5
square
#845BBE #BE5B64 #95BE5B #5BBEB5
split-complementary
#845BBE #BEB55B #64BE5B
monochromatic
#492D72 #663E9D #845BBE #A587CF #C6B3E1

Accessibility & contrast

On white

4.98
#845BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#845BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845BBE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BBE#FFFFFF#000000##FFFFFF
##845BBE1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386FC1
Deuteranopia (green-blind)
#446FBC
Tritanopia (blue-blind)
#796E84
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #845bbe;
/* rgb */ color: rgb(132, 91, 190);
/* oklch */ color: oklch(56.0% 0.151 300.7);
Tailwind
colors: {
  custom: {
    50: '#ab8ad2',
    500: '#845bbe',
    950: '#000000',
  },
}
SCSS
$custom: #845bbe;
$custom-light: #ab8ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#845bbe",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 264.848,
    "s": 43.231,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55964,
    "c": 0.15127,
    "h": 300.7
  },
  "luminance": 0.16105
}

Semantic roles & 50–950 ramp

primary
#845BBE
secondary
#BECFA6
accent
#D3559F
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #845BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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