#845EE2#845EE2

#845EE2 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.8% C 0.192 H 292.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#845EE2
RGBrgb(132, 94, 226)
HSLhsl(257, 69%, 63%)
HSVhsv(257, 58%, 89%)
CMYKcmyk(41.6%, 58.4%, 0%, 11.4%)
CIE-LABlab(49.98, 45.27, -62.13)
CIE-LCHlch(49.98, 76.87, 306.08°)
OKLaboklab(58.79% 0.0744 -0.177)
OKLCHoklch(58.79% 0.192 292.8)
XYZxyz(27.2422, 18.4012, 74.0532)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EE2 #BCE25E
analogous
#5E7AE2 #845EE2 #C65EE2
triadic
#845EE2 #E2845E #5EE284
tetradic
#845EE2 #E25E7A #BCE25E #5EE2C6
square
#845EE2 #E25E7A #BCE25E #5EE2C6
split-complementary
#845EE2 #E2C65E #7AE25E
monochromatic
#461EA7 #5C2AD9 #845EE2 #AC92EB #D3C6F5

Accessibility & contrast

On white

4.49
#845EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#845EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845EE2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EE2#FFFFFF#000000##000000
##845EE21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#1574DF
Tritanopia (blue-blind)
#6A7B97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #845ee2;
/* rgb */ color: rgb(132, 94, 226);
/* oklch */ color: oklch(58.8% 0.192 292.8);
Tailwind
colors: {
  custom: {
    50: '#ad8dec',
    500: '#845ee2',
    950: '#000000',
  },
}
SCSS
$custom: #845ee2;
$custom-light: #ad8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#845ee2",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 257.273,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58788,
    "c": 0.19198,
    "h": 292.8
  },
  "luminance": 0.18402
}

Semantic roles & 50–950 ramp

primary
#845EE2
secondary
#D8E6B6
accent
#D1149B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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