#845EFC#845EFC

#845EFC is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.7% C 0.224 H 289.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#845EFC
RGBrgb(132, 94, 252)
HSLhsl(254, 96%, 68%)
HSVhsv(254, 63%, 99%)
CMYKcmyk(47.6%, 62.7%, 0%, 1.2%)
CIE-LABlab(51.77, 52.39, -73.79)
CIE-LCHlch(51.77, 90.50, 305.37°)
OKLaboklab(60.66% 0.0729 -0.2113)
OKLCHoklch(60.66% 0.224 289)
XYZxyz(31.0841, 19.9379, 94.2872)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EFC #D6FC5E
analogous
#5E87FC #845EFC #D35EFC
triadic
#845EFC #FC845E #5EFC84
tetradic
#845EFC #FC5E87 #D6FC5E #5EFCD3
square
#845EFC #FC5E87 #D6FC5E #5EFCD3
split-complementary
#845EFC #FCD35E #87FC5E
monochromatic
#3804DC #5622FB #845EFC #B29AFD #E0D6FE

Accessibility & contrast

On white

4.21
#845EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#845EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845EFC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EFC#FFFFFF#000000##000000
##845EFC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0077F9
Tritanopia (blue-blind)
#5C84A5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #845efc;
/* rgb */ color: rgb(132, 94, 252);
/* oklch */ color: oklch(60.7% 0.224 289.0);
Tailwind
colors: {
  custom: {
    50: '#b08dfe',
    500: '#845efc',
    950: '#000000',
  },
}
SCSS
$custom: #845efc;
$custom-light: #b08dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#845efc",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 252
  },
  "hsl": {
    "h": 254.43,
    "s": 96.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60657,
    "c": 0.22351,
    "h": 289
  },
  "luminance": 0.19939
}

Semantic roles & 50–950 ramp

primary
#845EFC
secondary
#E8F3C3
accent
#E600AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #845EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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