#845BB0#845BB0

#845BB0 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.1% C 0.133 H 304.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#845BB0
RGBrgb(132, 91, 176)
HSLhsl(269, 35%, 52%)
HSVhsv(269, 48%, 69%)
CMYKcmyk(25%, 48.3%, 0%, 31%)
CIE-LABlab(46.34, 34.00, -39.19)
CIE-LCHlch(46.34, 51.88, 310.94°)
OKLaboklab(55.14% 0.0759 -0.1098)
OKLCHoklch(55.14% 0.133 304.7)
XYZxyz(21.0916, 15.5224, 42.9509)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BB0 #87B05B
analogous
#5B5DB0 #845BB0 #AE5BB0
triadic
#845BB0 #B0845B #5BB084
tetradic
#845BB0 #B05B5D #87B05B #5BB0AE
square
#845BB0 #B05B5D #87B05B #5BB0AE
split-complementary
#845BB0 #B0AE5B #5DB05B
monochromatic
#472F62 #66438B #845BB0 #A384C4 #C2AED8

Accessibility & contrast

On white

5.12
#845BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#845BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845BB0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BB0#FFFFFF#000000##FFFFFF
##845BB01.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436DB3
Deuteranopia (green-blind)
#4E6EAE
Tritanopia (blue-blind)
#7D6A7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #845bb0;
/* rgb */ color: rgb(132, 91, 176);
/* oklch */ color: oklch(55.1% 0.133 304.7);
Tailwind
colors: {
  custom: {
    50: '#aa8ac8',
    500: '#845bb0',
    950: '#000000',
  },
}
SCSS
$custom: #845bb0;
$custom-light: #aa8ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#845bb0",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 268.941,
    "s": 34.979,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5514,
    "c": 0.13347,
    "h": 304.7
  },
  "luminance": 0.15522
}

Semantic roles & 50–950 ramp

primary
#845BB0
secondary
#B4C6A1
accent
#CB5D96
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #845BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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