#845BE5#845BE5

#845BE5 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.5% C 0.200 H 292.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#845BE5
RGBrgb(132, 91, 229)
HSLhsl(258, 73%, 63%)
HSVhsv(258, 60%, 90%)
CMYKcmyk(42.4%, 60.3%, 0%, 10.2%)
CIE-LABlab(49.55, 47.74, -64.51)
CIE-LCHlch(49.55, 80.26, 306.50°)
OKLaboklab(58.54% 0.0776 -0.184)
OKLCHoklch(58.54% 0.2 292.9)
XYZxyz(27.3958, 18.0441, 76.1530)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BE5 #BCE55B
analogous
#5B77E5 #845BE5 #C95BE5
triadic
#845BE5 #E5845B #5BE584
tetradic
#845BE5 #E55B77 #BCE55B #5BE5C9
square
#845BE5 #E55B77 #BCE55B #5BE5C9
split-complementary
#845BE5 #E5C95B #77E55B
monochromatic
#461BAB #5C26DD #845BE5 #AC90ED #D3C5F6

Accessibility & contrast

On white

4.56
#845BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#845BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845BE5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BE5#FFFFFF#000000##000000
##845BE51.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#697A97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #845be5;
/* rgb */ color: rgb(132, 91, 229);
/* oklch */ color: oklch(58.5% 0.200 292.9);
Tailwind
colors: {
  custom: {
    50: '#ae8bee',
    500: '#845be5',
    950: '#000000',
  },
}
SCSS
$custom: #845be5;
$custom-light: #ae8bee;
$custom-dark: #000000;
JSON
{
  "hex": "#845be5",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 257.826,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58537,
    "c": 0.19971,
    "h": 292.9
  },
  "luminance": 0.18045
}

Semantic roles & 50–950 ramp

primary
#845BE5
secondary
#D8E7B5
accent
#D5119B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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