#845EEF#845EEF

#845EEF is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.208 H 290.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#845EEF
RGBrgb(132, 94, 239)
HSLhsl(256, 82%, 65%)
HSVhsv(256, 61%, 94%)
CMYKcmyk(44.8%, 60.7%, 0%, 6.3%)
CIE-LABlab(50.85, 48.81, -68.03)
CIE-LCHlch(50.85, 83.73, 305.66°)
OKLaboklab(59.7% 0.0739 -0.1943)
OKLCHoklch(59.7% 0.208 290.8)
XYZxyz(29.0941, 19.1419, 83.8064)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EEF #C9EF5E
analogous
#5E80EF #845EEF #CC5EEF
triadic
#845EEF #EF845E #5EEF84
tetradic
#845EEF #EF5E80 #C9EF5E #5EEFCC
square
#845EEF #EF5E80 #C9EF5E #5EEFCC
split-complementary
#845EEF #EFCC5E #80EF5E
monochromatic
#4013C0 #5926E9 #845EEF #AF96F5 #D9CDFA

Accessibility & contrast

On white

4.35
#845EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#845EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845EEF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EEF#FFFFFF#000000##000000
##845EEF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#647F9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #845eef;
/* rgb */ color: rgb(132, 94, 239);
/* oklch */ color: oklch(59.7% 0.208 290.8);
Tailwind
colors: {
  custom: {
    50: '#af8df5',
    500: '#845eef',
    950: '#000000',
  },
}
SCSS
$custom: #845eef;
$custom-light: #af8df5;
$custom-dark: #000000;
JSON
{
  "hex": "#845eef",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 255.724,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59704,
    "c": 0.20789,
    "h": 290.8
  },
  "luminance": 0.19143
}

Semantic roles & 50–950 ramp

primary
#845EEF
secondary
#E0EDBC
accent
#DE07A6
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #845EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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