#845AEB#845AEB

#845AEB is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.8% C 0.208 H 292.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#845AEB
RGBrgb(132, 90, 235)
HSLhsl(257, 78%, 64%)
HSVhsv(257, 62%, 92%)
CMYKcmyk(43.8%, 61.7%, 0%, 7.8%)
CIE-LABlab(49.76, 49.91, -67.56)
CIE-LCHlch(49.76, 83.99, 306.45°)
OKLaboklab(58.82% 0.0784 -0.193)
OKLCHoklch(58.82% 0.208 292.1)
XYZxyz(28.1631, 18.2151, 80.6132)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845AEB #C1EB5A
analogous
#5A78EB #845AEB #CC5AEB
triadic
#845AEB #EB845A #5AEB84
tetradic
#845AEB #EB5A78 #C1EB5A #5AEBCC
square
#845AEB #EB5A78 #C1EB5A #5AEBCC
split-complementary
#845AEB #EBCC5A #78EB5A
monochromatic
#4416B5 #5B23E4 #845AEB #AD91F2 #D5C7F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##845AEB#FFFFFF#000000##000000
##845AEB1.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)
#0078F0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#667B9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #845aeb;
/* rgb */ color: rgb(132, 90, 235);
/* oklch */ color: oklch(58.8% 0.208 292.1);
Tailwind
colors: {
  custom: {
    50: '#af8bf2',
    500: '#845aeb',
    950: '#000000',
  },
}
SCSS
$custom: #845aeb;
$custom-light: #af8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#845aeb",
  "rgb": {
    "r": 132,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 257.379,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58818,
    "c": 0.20826,
    "h": 292.1
  },
  "luminance": 0.18216
}

Semantic roles & 50–950 ramp

primary
#845AEB
secondary
#DBEAB7
accent
#DB0B9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #845AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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