#845CE0#845CE0

#845CE0 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.3% C 0.192 H 293.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#845CE0
RGBrgb(132, 92, 224)
HSLhsl(258, 68%, 62%)
HSVhsv(258, 59%, 88%)
CMYKcmyk(41.1%, 58.9%, 0%, 12.2%)
CIE-LABlab(49.42, 45.84, -61.89)
CIE-LCHlch(49.42, 77.02, 306.53°)
OKLaboklab(58.34% 0.0767 -0.1763)
OKLCHoklch(58.34% 0.192 293.5)
XYZxyz(26.7938, 17.9410, 72.5578)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CE0 #B8E05C
analogous
#5C76E0 #845CE0 #C65CE0
triadic
#845CE0 #E0845C #5CE084
tetradic
#845CE0 #E05C76 #B8E05C #5CE0C6
square
#845CE0 #E05C76 #B8E05C #5CE0C6
split-complementary
#845CE0 #E0C65C #76E05C
monochromatic
#471FA3 #5D29D6 #845CE0 #AB8FEA #D2C3F4

Accessibility & contrast

On white

4.58
#845CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#845CE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845CE0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CE0#FFFFFF#000000##000000
##845CE01.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E4
Deuteranopia (green-blind)
#1473DD
Tritanopia (blue-blind)
#6B7995
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #845ce0;
/* rgb */ color: rgb(132, 92, 224);
/* oklch */ color: oklch(58.3% 0.192 293.5);
Tailwind
colors: {
  custom: {
    50: '#ad8cea',
    500: '#845ce0',
    950: '#000000',
  },
}
SCSS
$custom: #845ce0;
$custom-light: #ad8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#845ce0",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 258.182,
    "s": 68.041,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58339,
    "c": 0.19226,
    "h": 293.5
  },
  "luminance": 0.17942
}

Semantic roles & 50–950 ramp

primary
#845CE0
secondary
#D5E4B4
accent
#D01697
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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