#845BE3#845BE3

#845BE3 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.4% C 0.197 H 293.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#845BE3
RGBrgb(132, 91, 227)
HSLhsl(258, 71%, 62%)
HSVhsv(258, 60%, 89%)
CMYKcmyk(41.9%, 59.9%, 0%, 11%)
CIE-LABlab(49.41, 47.20, -63.60)
CIE-LCHlch(49.41, 79.20, 306.58°)
OKLaboklab(58.4% 0.0777 -0.1813)
OKLCHoklch(58.4% 0.197 293.2)
XYZxyz(27.1182, 17.9330, 74.6908)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BE3 #BAE35B
analogous
#5B76E3 #845BE3 #C85BE3
triadic
#845BE3 #E3845B #5BE384
tetradic
#845BE3 #E35B76 #BAE35B #5BE3C8
square
#845BE3 #E35B76 #BAE35B #5BE3C8
split-complementary
#845BE3 #E3C85B #76E35B
monochromatic
#461DA7 #5D27DA #845BE3 #AB8FEC #D2C4F5

Accessibility & contrast

On white

4.58
#845BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#845BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845BE3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BE3#FFFFFF#000000##000000
##845BE31.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#6A7996
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #845be3;
/* rgb */ color: rgb(132, 91, 227);
/* oklch */ color: oklch(58.4% 0.197 293.2);
Tailwind
colors: {
  custom: {
    50: '#ae8bed',
    500: '#845be3',
    950: '#000000',
  },
}
SCSS
$custom: #845be3;
$custom-light: #ae8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#845be3",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 258.088,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58396,
    "c": 0.19728,
    "h": 293.2
  },
  "luminance": 0.17934
}

Semantic roles & 50–950 ramp

primary
#845BE3
secondary
#D7E6B4
accent
#D31399
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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