#845CE5#845CE5

#845CE5 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.7% C 0.198 H 292.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#845CE5
RGBrgb(132, 92, 229)
HSLhsl(258, 72%, 63%)
HSVhsv(258, 60%, 90%)
CMYKcmyk(42.4%, 59.8%, 0%, 10.2%)
CIE-LABlab(49.76, 47.19, -64.18)
CIE-LCHlch(49.76, 79.66, 306.33°)
OKLaboklab(58.69% 0.0765 -0.183)
OKLCHoklch(58.69% 0.198 292.7)
XYZxyz(27.4819, 18.2162, 76.1817)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CE5 #BDE55C
analogous
#5C78E5 #845CE5 #C85CE5
triadic
#845CE5 #E5845C #5CE584
tetradic
#845CE5 #E55C78 #BDE55C #5CE5C8
square
#845CE5 #E55C78 #BDE55C #5CE5C8
split-complementary
#845CE5 #E5C85C #78E55C
monochromatic
#451BAB #5C27DD #845CE5 #AC91ED #D4C6F6

Accessibility & contrast

On white

4.52
#845CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#845CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845CE5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CE5#FFFFFF#000000##000000
##845CE51.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#0074E2
Tritanopia (blue-blind)
#697B98
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #845ce5;
/* rgb */ color: rgb(132, 92, 229);
/* oklch */ color: oklch(58.7% 0.198 292.7);
Tailwind
colors: {
  custom: {
    50: '#ae8cee',
    500: '#845ce5',
    950: '#000000',
  },
}
SCSS
$custom: #845ce5;
$custom-light: #ae8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#845ce5",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 257.518,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58689,
    "c": 0.19838,
    "h": 292.7
  },
  "luminance": 0.18217
}

Semantic roles & 50–950 ramp

primary
#845CE5
secondary
#D9E7B6
accent
#D5119B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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