#845EF4#845EF4

#845EF4 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.1% C 0.214 H 290.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#845EF4
RGBrgb(132, 94, 244)
HSLhsl(255, 87%, 66%)
HSVhsv(255, 61%, 96%)
CMYKcmyk(45.9%, 61.5%, 0%, 4.3%)
CIE-LABlab(51.20, 50.18, -70.26)
CIE-LCHlch(51.20, 86.34, 305.54°)
OKLaboklab(60.07% 0.0735 -0.2009)
OKLCHoklch(60.07% 0.214 290.1)
XYZxyz(29.8429, 19.4415, 87.7506)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EF4 #CEF45E
analogous
#5E83F4 #845EF4 #CF5EF4
triadic
#845EF4 #F4845E #5EF484
tetradic
#845EF4 #F45E83 #CEF45E #5EF4CF
square
#845EF4 #F45E83 #CEF45E #5EF4CF
split-complementary
#845EF4 #F4CF5E #83F45E
monochromatic
#3D0ECA #5825F0 #845EF4 #B097F8 #DCD1FC

Accessibility & contrast

On white

4.30
#845EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#845EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845EF4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EF4#FFFFFF#000000##000000
##845EF41.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF9
Deuteranopia (green-blind)
#0076F1
Tritanopia (blue-blind)
#6181A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #845ef4;
/* rgb */ color: rgb(132, 94, 244);
/* oklch */ color: oklch(60.1% 0.214 290.1);
Tailwind
colors: {
  custom: {
    50: '#af8df9',
    500: '#845ef4',
    950: '#000000',
  },
}
SCSS
$custom: #845ef4;
$custom-light: #af8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#845ef4",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 255.2,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60066,
    "c": 0.21393,
    "h": 290.1
  },
  "luminance": 0.19443
}

Semantic roles & 50–950 ramp

primary
#845EF4
secondary
#E3EFBE
accent
#E402AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #845EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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