#845AE0#845AE0

#845AE0 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.0% C 0.195 H 293.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#845AE0
RGBrgb(132, 90, 224)
HSLhsl(259, 68%, 62%)
HSVhsv(259, 60%, 88%)
CMYKcmyk(41.1%, 59.8%, 0%, 12.2%)
CIE-LABlab(49.01, 46.95, -62.57)
CIE-LCHlch(49.01, 78.22, 306.88°)
OKLaboklab(58.03% 0.079 -0.1783)
OKLCHoklch(58.03% 0.195 293.9)
XYZxyz(26.6228, 17.5990, 72.5008)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845AE0 #B6E05A
analogous
#5A73E0 #845AE0 #C75AE0
triadic
#845AE0 #E0845A #5AE084
tetradic
#845AE0 #E05A73 #B6E05A #5AE0C7
square
#845AE0 #E05A73 #B6E05A #5AE0C7
split-complementary
#845AE0 #E0C75A #73E05A
monochromatic
#471EA1 #5E28D5 #845AE0 #AA8EEA #D1C1F3

Accessibility & contrast

On white

4.65
#845AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#845AE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #845AE0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845AE0#FFFFFF#000000##FFFFFF
##845AE01.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E4
Deuteranopia (green-blind)
#0972DD
Tritanopia (blue-blind)
#6C7894
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #845ae0;
/* rgb */ color: rgb(132, 90, 224);
/* oklch */ color: oklch(58.0% 0.195 293.9);
Tailwind
colors: {
  custom: {
    50: '#ae8aea',
    500: '#845ae0',
    950: '#000000',
  },
}
SCSS
$custom: #845ae0;
$custom-light: #ae8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#845ae0",
  "rgb": {
    "r": 132,
    "g": 90,
    "b": 224
  },
  "hsl": {
    "h": 258.806,
    "s": 68.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58034,
    "c": 0.195,
    "h": 293.9
  },
  "luminance": 0.176
}

Semantic roles & 50–950 ramp

primary
#845AE0
secondary
#D4E4B2
accent
#D01596
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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