#845BC0#845BC0

#845BC0 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.1% C 0.154 H 300.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#845BC0
RGBrgb(132, 91, 192)
HSLhsl(264, 44%, 55%)
HSVhsv(264, 53%, 75%)
CMYKcmyk(31.2%, 52.6%, 0%, 24.7%)
CIE-LABlab(47.23, 38.00, -47.10)
CIE-LCHlch(47.23, 60.52, 308.90°)
OKLaboklab(56.09% 0.0775 -0.1329)
OKLCHoklch(56.09% 0.154 300.2)
XYZxyz(22.7690, 16.1933, 51.7850)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BC0 #97C05B
analogous
#5B65C0 #845BC0 #B65BC0
triadic
#845BC0 #C0845B #5BC084
tetradic
#845BC0 #C05B65 #97C05B #5BC0B6
square
#845BC0 #C05B65 #97C05B #5BC0B6
split-complementary
#845BC0 #C0B65B #65C05B
monochromatic
#4A2D74 #663EA0 #845BC0 #A587D1 #C6B3E2

Accessibility & contrast

On white

4.95
#845BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#845BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845BC0
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BC0#FFFFFF#000000##FFFFFF
##845BC01.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3670C3
Deuteranopia (green-blind)
#426FBE
Tritanopia (blue-blind)
#786E85
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #845bc0;
/* rgb */ color: rgb(132, 91, 192);
/* oklch */ color: oklch(56.1% 0.154 300.2);
Tailwind
colors: {
  custom: {
    50: '#ab8ad3',
    500: '#845bc0',
    950: '#000000',
  },
}
SCSS
$custom: #845bc0;
$custom-light: #ab8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#845bc0",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 192
  },
  "hsl": {
    "h": 264.356,
    "s": 44.493,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56086,
    "c": 0.1538,
    "h": 300.2
  },
  "luminance": 0.16193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #845BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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