#845ABE#845ABE

#845ABE is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.8% C 0.153 H 301.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#845ABE
RGBrgb(132, 90, 190)
HSLhsl(265, 43%, 55%)
HSVhsv(265, 53%, 75%)
CMYKcmyk(30.5%, 52.6%, 0%, 25.5%)
CIE-LABlab(46.89, 38.06, -46.48)
CIE-LCHlch(46.89, 60.08, 309.31°)
OKLaboklab(55.8% 0.0787 -0.131)
OKLCHoklch(55.8% 0.153 301)
XYZxyz(22.4640, 15.9355, 50.5976)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845ABE #94BE5A
analogous
#5A62BE #845ABE #B65ABE
triadic
#845ABE #BE845A #5ABE84
tetradic
#845ABE #BE5A62 #94BE5A #5ABEB6
square
#845ABE #BE5A62 #94BE5A #5ABEB6
split-complementary
#845ABE #BEB65A #62BE5A
monochromatic
#492D71 #663E9D #845ABE #A586CF #C5B2E1

Accessibility & contrast

On white

5.02
#845ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#845ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845ABE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845ABE#FFFFFF#000000##FFFFFF
##845ABE1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366FC1
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#796D83
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #845abe;
/* rgb */ color: rgb(132, 90, 190);
/* oklch */ color: oklch(55.8% 0.153 301.0);
Tailwind
colors: {
  custom: {
    50: '#ab8ad2',
    500: '#845abe',
    950: '#000000',
  },
}
SCSS
$custom: #845abe;
$custom-light: #ab8ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#845abe",
  "rgb": {
    "r": 132,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 265.2,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55799,
    "c": 0.15284,
    "h": 301
  },
  "luminance": 0.15936
}

Semantic roles & 50–950 ramp

primary
#845ABE
secondary
#BDCFA5
accent
#D3559E
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #845ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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