#845AE6#845AE6

#845AE6 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.5% C 0.202 H 292.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#845AE6
RGBrgb(132, 90, 230)
HSLhsl(258, 74%, 63%)
HSVhsv(258, 61%, 90%)
CMYKcmyk(42.6%, 60.9%, 0%, 9.8%)
CIE-LABlab(49.41, 48.56, -65.30)
CIE-LCHlch(49.41, 81.38, 306.63°)
OKLaboklab(58.46% 0.0787 -0.1863)
OKLCHoklch(58.46% 0.202 292.9)
XYZxyz(27.4509, 17.9302, 76.8621)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845AE6 #BCE65A
analogous
#5A76E6 #845AE6 #CA5AE6
triadic
#845AE6 #E6845A #5AE684
tetradic
#845AE6 #E65A76 #BCE65A #5AE6CA
square
#845AE6 #E65A76 #BCE65A #5AE6CA
split-complementary
#845AE6 #E6CA5A #76E65A
monochromatic
#461AAC #5C25DE #845AE6 #AC8FEE #D3C4F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##845AE6#FFFFFF#000000##000000
##845AE61.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)
#0077EA
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#697A98
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #845ae6;
/* rgb */ color: rgb(132, 90, 230);
/* oklch */ color: oklch(58.5% 0.202 292.9);
Tailwind
colors: {
  custom: {
    50: '#ae8aef',
    500: '#845ae6',
    950: '#000000',
  },
}
SCSS
$custom: #845ae6;
$custom-light: #ae8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#845ae6",
  "rgb": {
    "r": 132,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 258,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58458,
    "c": 0.20225,
    "h": 292.9
  },
  "luminance": 0.17931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #845AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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