#845AEA#845AEA

#845AEA is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.7% C 0.207 H 292.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#845AEA
RGBrgb(132, 90, 234)
HSLhsl(258, 77%, 64%)
HSVhsv(258, 62%, 92%)
CMYKcmyk(43.6%, 61.5%, 0%, 8.2%)
CIE-LABlab(49.69, 49.64, -67.11)
CIE-LCHlch(49.69, 83.47, 306.49°)
OKLaboklab(58.75% 0.0784 -0.1916)
OKLCHoklch(58.75% 0.207 292.3)
XYZxyz(28.0191, 18.1575, 79.8544)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845AEA #C0EA5A
analogous
#5A78EA #845AEA #CC5AEA
triadic
#845AEA #EA845A #5AEA84
tetradic
#845AEA #EA5A78 #C0EA5A #5AEACC
square
#845AEA #EA5A78 #C0EA5A #5AEACC
split-complementary
#845AEA #EACC5A #78EA5A
monochromatic
#4417B3 #5C24E3 #845AEA #AC90F1 #D5C7F8

Accessibility & contrast

On white

4.53
#845AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#845AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #845AEA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845AEA#FFFFFF#000000##000000
##845AEA1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#677B9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #845aea;
/* rgb */ color: rgb(132, 90, 234);
/* oklch */ color: oklch(58.7% 0.207 292.3);
Tailwind
colors: {
  custom: {
    50: '#af8bf2',
    500: '#845aea',
    950: '#000000',
  },
}
SCSS
$custom: #845aea;
$custom-light: #af8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#845aea",
  "rgb": {
    "r": 132,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 257.5,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58745,
    "c": 0.20706,
    "h": 292.3
  },
  "luminance": 0.18158
}

Semantic roles & 50–950 ramp

primary
#845AEA
secondary
#DBE9B6
accent
#DA0C9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #845AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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