#845BE1#845BE1

#845BE1 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.3% C 0.195 H 293.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#845BE1
RGBrgb(132, 91, 225)
HSLhsl(258, 69%, 62%)
HSVhsv(258, 60%, 88%)
CMYKcmyk(41.3%, 59.6%, 0%, 11.8%)
CIE-LABlab(49.28, 46.67, -62.69)
CIE-LCHlch(49.28, 78.15, 306.66°)
OKLaboklab(58.26% 0.0778 -0.1786)
OKLCHoklch(58.26% 0.195 293.5)
XYZxyz(26.8438, 17.8232, 73.2455)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BE1 #B8E15B
analogous
#5B75E1 #845BE1 #C75BE1
triadic
#845BE1 #E1845B #5BE184
tetradic
#845BE1 #E15B75 #B8E15B #5BE1C7
square
#845BE1 #E15B75 #B8E15B #5BE1C7
split-complementary
#845BE1 #E1C75B #75E15B
monochromatic
#471EA4 #5D27D7 #845BE1 #AB8FEA #D2C2F4

Accessibility & contrast

On white

4.60
#845BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#845BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #845BE1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BE1#FFFFFF#000000##FFFFFF
##845BE11.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#0A73DE
Tritanopia (blue-blind)
#6B7995
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #845be1;
/* rgb */ color: rgb(132, 91, 225);
/* oklch */ color: oklch(58.3% 0.195 293.5);
Tailwind
colors: {
  custom: {
    50: '#ae8beb',
    500: '#845be1',
    950: '#000000',
  },
}
SCSS
$custom: #845be1;
$custom-light: #ae8beb;
$custom-dark: #000000;
JSON
{
  "hex": "#845be1",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 258.358,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58256,
    "c": 0.19485,
    "h": 293.5
  },
  "luminance": 0.17824
}

Semantic roles & 50–950 ramp

primary
#845BE1
secondary
#D5E5B3
accent
#D11497
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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