#845AE8#845AE8

#845AE8 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.6% C 0.205 H 292.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#845AE8
RGBrgb(132, 90, 232)
HSLhsl(258, 76%, 63%)
HSVhsv(258, 61%, 91%)
CMYKcmyk(43.1%, 61.2%, 0%, 9%)
CIE-LABlab(49.55, 49.10, -66.21)
CIE-LCHlch(49.55, 82.42, 306.56°)
OKLaboklab(58.6% 0.0786 -0.189)
OKLCHoklch(58.6% 0.205 292.6)
XYZxyz(27.7334, 18.0432, 78.3498)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845AE8 #BEE85A
analogous
#5A77E8 #845AE8 #CB5AE8
triadic
#845AE8 #E8845A #5AE884
tetradic
#845AE8 #E85A77 #BEE85A #5AE8CB
square
#845AE8 #E85A77 #BEE85A #5AE8CB
split-complementary
#845AE8 #E8CB5A #77E85A
monochromatic
#4518AF #5C24E1 #845AE8 #AC90EF #D4C5F7

Accessibility & contrast

On white

4.56
#845AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#845AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845AE8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845AE8#FFFFFF#000000##000000
##845AE81.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#687A99
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #845ae8;
/* rgb */ color: rgb(132, 90, 232);
/* oklch */ color: oklch(58.6% 0.205 292.6);
Tailwind
colors: {
  custom: {
    50: '#ae8af0',
    500: '#845ae8',
    950: '#000000',
  },
}
SCSS
$custom: #845ae8;
$custom-light: #ae8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#845ae8",
  "rgb": {
    "r": 132,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 257.746,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58601,
    "c": 0.20466,
    "h": 292.6
  },
  "luminance": 0.18044
}

Semantic roles & 50–950 ramp

primary
#845AE8
secondary
#D9E8B5
accent
#D80E9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #845AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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