#845EE7#845EE7

#845EE7 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.198 H 292.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#845EE7
RGBrgb(132, 94, 231)
HSLhsl(257, 74%, 64%)
HSVhsv(257, 59%, 91%)
CMYKcmyk(42.9%, 59.3%, 0%, 9.4%)
CIE-LABlab(50.31, 46.63, -64.41)
CIE-LCHlch(50.31, 79.52, 305.90°)
OKLaboklab(59.14% 0.0742 -0.1837)
OKLCHoklch(59.14% 0.198 292)
XYZxyz(27.9383, 18.6796, 77.7193)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EE7 #C1E75E
analogous
#5E7CE7 #845EE7 #C85EE7
triadic
#845EE7 #E7845E #5EE784
tetradic
#845EE7 #E75E7C #C1E75E #5EE7C8
square
#845EE7 #E75E7C #C1E75E #5EE7C8
split-complementary
#845EE7 #E7C85E #7CE75E
monochromatic
#441AB0 #5B29DF #845EE7 #AD93EF #D5C9F7

Accessibility & contrast

On white

4.43
#845EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#845EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845EE7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EE7#FFFFFF#000000##000000
##845EE71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#687D9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #845ee7;
/* rgb */ color: rgb(132, 94, 231);
/* oklch */ color: oklch(59.1% 0.198 292.0);
Tailwind
colors: {
  custom: {
    50: '#ae8def',
    500: '#845ee7',
    950: '#000000',
  },
}
SCSS
$custom: #845ee7;
$custom-light: #ae8def;
$custom-dark: #000000;
JSON
{
  "hex": "#845ee7",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 256.642,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59135,
    "c": 0.19813,
    "h": 292
  },
  "luminance": 0.1868
}

Semantic roles & 50–950 ramp

primary
#845EE7
secondary
#DBE9B8
accent
#D60F9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #845EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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