#845BBD#845BBD

#845BBD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.9% C 0.150 H 301.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#845BBD
RGBrgb(132, 91, 189)
HSLhsl(265, 43%, 55%)
HSVhsv(265, 52%, 74%)
CMYKcmyk(30.2%, 51.9%, 0%, 25.9%)
CIE-LABlab(47.06, 37.24, -45.64)
CIE-LCHlch(47.06, 58.90, 309.21°)
OKLaboklab(55.9% 0.0772 -0.1286)
OKLCHoklch(55.9% 0.15 301)
XYZxyz(22.4400, 16.0617, 50.0523)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BBD #94BD5B
analogous
#5B63BD #845BBD #B55BBD
triadic
#845BBD #BD845B #5BBD84
tetradic
#845BBD #BD5B63 #94BD5B #5BBDB5
square
#845BBD #BD5B63 #94BD5B #5BBDB5
split-complementary
#845BBD #BDB55B #63BD5B
monochromatic
#492D70 #663F9C #845BBD #A587CF #C5B2E0

Accessibility & contrast

On white

4.99
#845BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#845BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845BBD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BBD#FFFFFF#000000##FFFFFF
##845BBD1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396FC0
Deuteranopia (green-blind)
#456FBB
Tritanopia (blue-blind)
#796D83
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #845bbd;
/* rgb */ color: rgb(132, 91, 189);
/* oklch */ color: oklch(55.9% 0.150 301.0);
Tailwind
colors: {
  custom: {
    50: '#ab8ad1',
    500: '#845bbd',
    950: '#000000',
  },
}
SCSS
$custom: #845bbd;
$custom-light: #ab8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#845bbd",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 265.102,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55903,
    "c": 0.15,
    "h": 301
  },
  "luminance": 0.16062
}

Semantic roles & 50–950 ramp

primary
#845BBD
secondary
#BDCFA5
accent
#D2559E
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #845BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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