#845CE6#845CE6

#845CE6 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.8% C 0.200 H 292.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#845CE6
RGBrgb(132, 92, 230)
HSLhsl(257, 73%, 63%)
HSVhsv(257, 60%, 90%)
CMYKcmyk(42.6%, 60%, 0%, 9.8%)
CIE-LABlab(49.82, 47.46, -64.63)
CIE-LCHlch(49.82, 80.19, 306.29°)
OKLaboklab(58.76% 0.0765 -0.1844)
OKLCHoklch(58.76% 0.2 292.5)
XYZxyz(27.6219, 18.2722, 76.9191)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845CE6 #BEE65C
analogous
#5C79E6 #845CE6 #C95CE6
triadic
#845CE6 #E6845C #5CE684
tetradic
#845CE6 #E65C79 #BEE65C #5CE6C9
square
#845CE6 #E65C79 #BEE65C #5CE6C9
split-complementary
#845CE6 #E6C95C #79E65C
monochromatic
#451BAD #5C27DE #845CE6 #AC91EE #D4C6F6

Accessibility & contrast

On white

4.51
#845CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#845CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845CE6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845CE6#FFFFFF#000000##000000
##845CE61.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #845ce6;
/* rgb */ color: rgb(132, 92, 230);
/* oklch */ color: oklch(58.8% 0.200 292.5);
Tailwind
colors: {
  custom: {
    50: '#ae8cef',
    500: '#845ce6',
    950: '#000000',
  },
}
SCSS
$custom: #845ce6;
$custom-light: #ae8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#845ce6",
  "rgb": {
    "r": 132,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 257.391,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58759,
    "c": 0.19959,
    "h": 292.5
  },
  "luminance": 0.18273
}

Semantic roles & 50–950 ramp

primary
#845CE6
secondary
#D9E8B6
accent
#D6109C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #845CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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