#845CC0#845CC0

#845CC0 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.3% C 0.152 H 300.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#845CC0
RGBrgb(132, 92, 192)
HSLhsl(264, 44%, 56%)
HSVhsv(264, 52%, 75%)
CMYKcmyk(31.2%, 52.1%, 0%, 24.7%)
CIE-LABlab(47.45, 37.43, -46.75)
CIE-LCHlch(47.45, 59.88, 308.68°)
OKLaboklab(56.25% 0.0761 -0.1318)
OKLCHoklch(56.25% 0.152 300)
XYZxyz(22.8550, 16.3654, 51.8137)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CC0 #98C05C
analogous
#5C66C0 #845CC0 #B65CC0
triadic
#845CC0 #C0845C #5CC084
tetradic
#845CC0 #C05C66 #98C05C #5CC0B6
square
#845CC0 #C05C66 #98C05C #5CC0B6
split-complementary
#845CC0 #C0B65C #66C05C
monochromatic
#4A2D75 #663EA1 #845CC0 #A588D1 #C7B4E2

Accessibility & contrast

On white

4.91
#845CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#845CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845CC0
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CC0#FFFFFF#000000##FFFFFF
##845CC01.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3870C3
Deuteranopia (green-blind)
#4370BE
Tritanopia (blue-blind)
#786F85
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #845cc0;
/* rgb */ color: rgb(132, 92, 192);
/* oklch */ color: oklch(56.3% 0.152 300.0);
Tailwind
colors: {
  custom: {
    50: '#ab8bd3',
    500: '#845cc0',
    950: '#000000',
  },
}
SCSS
$custom: #845cc0;
$custom-light: #ab8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#845cc0",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 192
  },
  "hsl": {
    "h": 264,
    "s": 44.248,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56252,
    "c": 0.15223,
    "h": 300
  },
  "luminance": 0.16366
}

Semantic roles & 50–950 ramp

primary
#845CC0
secondary
#C0D1A7
accent
#D454A1
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #845CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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