#845AC0#845AC0

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

Color values

HEX#845AC0
RGBrgb(132, 90, 192)
HSLhsl(265, 45%, 55%)
HSVhsv(265, 53%, 75%)
CMYKcmyk(31.2%, 53.1%, 0%, 24.7%)
CIE-LABlab(47.01, 38.57, -47.46)
CIE-LCHlch(47.01, 61.15, 309.10°)
OKLaboklab(55.92% 0.0788 -0.1339)
OKLCHoklch(55.92% 0.155 300.5)
XYZxyz(22.6841, 16.0235, 51.7567)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845AC0 #96C05A
analogous
#5A63C0 #845AC0 #B75AC0
triadic
#845AC0 #C0845A #5AC084
tetradic
#845AC0 #C05A63 #96C05A #5AC0B7
square
#845AC0 #C05A63 #96C05A #5AC0B7
split-complementary
#845AC0 #C0B75A #63C05A
monochromatic
#492C73 #663DA0 #845AC0 #A586D1 #C6B3E2

Accessibility & contrast

On white

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

On black

4.20
#845AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##845AC0#FFFFFF#000000##FFFFFF
##845AC01.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346FC3
Deuteranopia (green-blind)
#416FBE
Tritanopia (blue-blind)
#786E84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #845ac0;
/* rgb */ color: rgb(132, 90, 192);
/* oklch */ color: oklch(55.9% 0.155 300.5);
Tailwind
colors: {
  custom: {
    50: '#ab8ad3',
    500: '#845ac0',
    950: '#000000',
  },
}
SCSS
$custom: #845ac0;
$custom-light: #ab8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#845ac0",
  "rgb": {
    "r": 132,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 264.706,
    "s": 44.737,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55922,
    "c": 0.15536,
    "h": 300.5
  },
  "luminance": 0.16024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #845AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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