#845AEE#845AEE

#845AEE is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.212 H 291.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#845AEE
RGBrgb(132, 90, 238)
HSLhsl(257, 81%, 64%)
HSVhsv(257, 62%, 93%)
CMYKcmyk(44.5%, 62.2%, 0%, 6.7%)
CIE-LABlab(49.97, 50.72, -68.90)
CIE-LCHlch(49.97, 85.56, 306.36°)
OKLaboklab(59.04% 0.0781 -0.1969)
OKLCHoklch(59.04% 0.212 291.6)
XYZxyz(28.6002, 18.3900, 82.9150)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845AEE #C4EE5A
analogous
#5A7AEE #845AEE #CE5AEE
triadic
#845AEE #EE845A #5AEE84
tetradic
#845AEE #EE5A7A #C4EE5A #5AEECE
square
#845AEE #EE5A7A #C4EE5A #5AEECE
split-complementary
#845AEE #EECE5A #7AEE5A
monochromatic
#4313BA #5B23E8 #845AEE #AD91F4 #D7C9F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##845AEE#FFFFFF#000000##000000
##845AEE1.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)
#0079F3
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#657C9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #845aee;
/* rgb */ color: rgb(132, 90, 238);
/* oklch */ color: oklch(59.0% 0.212 291.6);
Tailwind
colors: {
  custom: {
    50: '#af8bf4',
    500: '#845aee',
    950: '#000000',
  },
}
SCSS
$custom: #845aee;
$custom-light: #af8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#845aee",
  "rgb": {
    "r": 132,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 257.027,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59036,
    "c": 0.21184,
    "h": 291.6
  },
  "luminance": 0.18391
}

Semantic roles & 50–950 ramp

primary
#845AEE
secondary
#DDECB8
accent
#DE08A1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #845AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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