#845EEB#845EEB

#845EEB is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.4% C 0.203 H 291.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#845EEB
RGBrgb(132, 94, 235)
HSLhsl(256, 78%, 65%)
HSVhsv(256, 60%, 92%)
CMYKcmyk(43.8%, 60%, 0%, 7.8%)
CIE-LABlab(50.58, 47.72, -66.22)
CIE-LCHlch(50.58, 81.63, 305.77°)
OKLaboklab(59.42% 0.0741 -0.189)
OKLCHoklch(59.42% 0.203 291.4)
XYZxyz(28.5097, 18.9082, 80.7287)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EEB #C5EB5E
analogous
#5E7FEB #845EEB #CB5EEB
triadic
#845EEB #EB845E #5EEB84
tetradic
#845EEB #EB5E7F #C5EB5E #5EEBCB
square
#845EEB #EB5E7F #C5EB5E #5EEBCB
split-complementary
#845EEB #EBCB5E #7FEB5E
monochromatic
#4217B8 #5A28E4 #845EEB #AE94F2 #D7CBF9

Accessibility & contrast

On white

4.39
#845EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#845EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845EEB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EEB#FFFFFF#000000##000000
##845EEB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#667E9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #845eeb;
/* rgb */ color: rgb(132, 94, 235);
/* oklch */ color: oklch(59.4% 0.203 291.4);
Tailwind
colors: {
  custom: {
    50: '#ae8df2',
    500: '#845eeb',
    950: '#000000',
  },
}
SCSS
$custom: #845eeb;
$custom-light: #ae8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#845eeb",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 256.17,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59418,
    "c": 0.20302,
    "h": 291.4
  },
  "luminance": 0.18909
}

Semantic roles & 50–950 ramp

primary
#845EEB
secondary
#DEEBBA
accent
#DA0BA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #845EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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