#845CE4#845CE4

#845CE4 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.197 H 292.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#845CE4
RGBrgb(132, 92, 228)
HSLhsl(258, 72%, 63%)
HSVhsv(258, 60%, 89%)
CMYKcmyk(42.1%, 59.6%, 0%, 10.6%)
CIE-LABlab(49.69, 46.92, -63.72)
CIE-LCHlch(49.69, 79.13, 306.37°)
OKLaboklab(58.62% 0.0766 -0.1817)
OKLCHoklch(58.62% 0.197 292.9)
XYZxyz(27.3427, 18.1605, 75.4484)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CE4 #BCE45C
analogous
#5C78E4 #845CE4 #C85CE4
triadic
#845CE4 #E4845C #5CE484
tetradic
#845CE4 #E45C78 #BCE45C #5CE4C8
square
#845CE4 #E45C78 #BCE45C #5CE4C8
split-complementary
#845CE4 #E4C85C #78E45C
monochromatic
#461CAA #5C27DB #845CE4 #AC91ED #D3C5F5

Accessibility & contrast

On white

4.53
#845CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#845CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845CE4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CE4#FFFFFF#000000##000000
##845CE41.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#0074E1
Tritanopia (blue-blind)
#6A7A97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #845ce4;
/* rgb */ color: rgb(132, 92, 228);
/* oklch */ color: oklch(58.6% 0.197 292.9);
Tailwind
colors: {
  custom: {
    50: '#ae8ced',
    500: '#845ce4',
    950: '#000000',
  },
}
SCSS
$custom: #845ce4;
$custom-light: #ae8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#845ce4",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 257.647,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58618,
    "c": 0.19716,
    "h": 292.9
  },
  "luminance": 0.18161
}

Semantic roles & 50–950 ramp

primary
#845CE4
secondary
#D8E7B5
accent
#D4129B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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