#845EEA#845EEA

#845EEA is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.3% C 0.202 H 291.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#845EEA
RGBrgb(132, 94, 234)
HSLhsl(256, 77%, 64%)
HSVhsv(256, 60%, 92%)
CMYKcmyk(43.6%, 59.8%, 0%, 8.2%)
CIE-LABlab(50.51, 47.45, -65.77)
CIE-LCHlch(50.51, 81.10, 305.81°)
OKLaboklab(59.35% 0.0741 -0.1877)
OKLCHoklch(59.35% 0.202 291.5)
XYZxyz(28.3656, 18.8505, 79.9699)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EEA #C4EA5E
analogous
#5E7EEA #845EEA #CA5EEA
triadic
#845EEA #EA845E #5EEA84
tetradic
#845EEA #EA5E7E #C4EA5E #5EEACA
square
#845EEA #EA5E7E #C4EA5E #5EEACA
split-complementary
#845EEA #EACA5E #7EEA5E
monochromatic
#4318B6 #5B28E3 #845EEA #AD94F1 #D7CAF8

Accessibility & contrast

On white

4.40
#845EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#845EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845EEA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EEA#FFFFFF#000000##000000
##845EEA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#667E9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #845eea;
/* rgb */ color: rgb(132, 94, 234);
/* oklch */ color: oklch(59.3% 0.202 291.5);
Tailwind
colors: {
  custom: {
    50: '#ae8df2',
    500: '#845eea',
    950: '#000000',
  },
}
SCSS
$custom: #845eea;
$custom-light: #ae8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#845eea",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 256.286,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59347,
    "c": 0.2018,
    "h": 291.5
  },
  "luminance": 0.18851
}

Semantic roles & 50–950 ramp

primary
#845EEA
secondary
#DDEABA
accent
#D90CA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #845EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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