#845EE4#845EE4

#845EE4 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.9% C 0.194 H 292.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#845EE4
RGBrgb(132, 94, 228)
HSLhsl(257, 71%, 63%)
HSVhsv(257, 59%, 89%)
CMYKcmyk(42.1%, 58.8%, 0%, 10.6%)
CIE-LABlab(50.11, 45.81, -63.04)
CIE-LCHlch(50.11, 77.93, 306.01°)
OKLaboklab(58.93% 0.0743 -0.1797)
OKLCHoklch(58.93% 0.194 292.5)
XYZxyz(27.5182, 18.5116, 75.5070)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EE4 #BEE45E
analogous
#5E7BE4 #845EE4 #C75EE4
triadic
#845EE4 #E4845E #5EE484
tetradic
#845EE4 #E45E7B #BEE45E #5EE4C7
square
#845EE4 #E45E7B #BEE45E #5EE4C7
split-complementary
#845EE4 #E4C75E #7BE45E
monochromatic
#451DAB #5C2ADB #845EE4 #AC92ED #D4C7F6

Accessibility & contrast

On white

4.47
#845EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#845EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845EE4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EE4#FFFFFF#000000##000000
##845EE41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#0E75E1
Tritanopia (blue-blind)
#697C98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #845ee4;
/* rgb */ color: rgb(132, 94, 228);
/* oklch */ color: oklch(58.9% 0.194 292.5);
Tailwind
colors: {
  custom: {
    50: '#ae8ded',
    500: '#845ee4',
    950: '#000000',
  },
}
SCSS
$custom: #845ee4;
$custom-light: #ae8ded;
$custom-dark: #000000;
JSON
{
  "hex": "#845ee4",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 257.015,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58926,
    "c": 0.19445,
    "h": 292.5
  },
  "luminance": 0.18512
}

Semantic roles & 50–950 ramp

primary
#845EE4
secondary
#D9E7B7
accent
#D3129D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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