#845EE6#845EE6

#845EE6 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.197 H 292.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#845EE6
RGBrgb(132, 94, 230)
HSLhsl(257, 73%, 64%)
HSVhsv(257, 59%, 90%)
CMYKcmyk(42.6%, 59.1%, 0%, 9.8%)
CIE-LABlab(50.24, 46.36, -63.96)
CIE-LCHlch(50.24, 78.99, 305.94°)
OKLaboklab(59.07% 0.0743 -0.1824)
OKLCHoklch(59.07% 0.197 292.2)
XYZxyz(27.7974, 18.6233, 76.9776)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EE6 #C0E65E
analogous
#5E7CE6 #845EE6 #C85EE6
triadic
#845EE6 #E6845E #5EE684
tetradic
#845EE6 #E65E7C #C0E65E #5EE6C8
square
#845EE6 #E65E7C #C0E65E #5EE6C8
split-complementary
#845EE6 #E6C85E #7CE65E
monochromatic
#441BAF #5C29DE #845EE6 #AC93EE #D5C8F6

Accessibility & contrast

On white

4.44
#845EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#845EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845EE6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EE6#FFFFFF#000000##000000
##845EE61.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#0275E3
Tritanopia (blue-blind)
#687C99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #845ee6;
/* rgb */ color: rgb(132, 94, 230);
/* oklch */ color: oklch(59.1% 0.197 292.2);
Tailwind
colors: {
  custom: {
    50: '#ae8def',
    500: '#845ee6',
    950: '#000000',
  },
}
SCSS
$custom: #845ee6;
$custom-light: #ae8def;
$custom-dark: #000000;
JSON
{
  "hex": "#845ee6",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 230
  },
  "hsl": {
    "h": 256.765,
    "s": 73.118,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59065,
    "c": 0.19691,
    "h": 292.2
  },
  "luminance": 0.18624
}

Semantic roles & 50–950 ramp

primary
#845EE6
secondary
#DBE8B8
accent
#D5109E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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