#845ABA#845ABA

#845ABA is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.6% C 0.148 H 302.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#845ABA
RGBrgb(132, 90, 186)
HSLhsl(266, 41%, 54%)
HSVhsv(266, 52%, 73%)
CMYKcmyk(29%, 51.6%, 0%, 27.1%)
CIE-LABlab(46.66, 37.05, -44.52)
CIE-LCHlch(46.66, 57.92, 309.77°)
OKLaboklab(55.56% 0.0784 -0.1253)
OKLCHoklch(55.56% 0.148 302)
XYZxyz(22.0328, 15.7630, 48.3267)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845ABA #90BA5A
analogous
#5A60BA #845ABA #B45ABA
triadic
#845ABA #BA845A #5ABA84
tetradic
#845ABA #BA5A60 #90BA5A #5ABAB4
square
#845ABA #BA5A60 #90BA5A #5ABAB4
split-complementary
#845ABA #BAB45A #60BA5A
monochromatic
#492D6C #663F97 #845ABA #A485CC #C4B0DE

Accessibility & contrast

On white

5.06
#845ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#845ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845ABA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845ABA#FFFFFF#000000##FFFFFF
##845ABA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#466EB8
Tritanopia (blue-blind)
#7A6C81
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #845aba;
/* rgb */ color: rgb(132, 90, 186);
/* oklch */ color: oklch(55.6% 0.148 302.0);
Tailwind
colors: {
  custom: {
    50: '#aa8acf',
    500: '#845aba',
    950: '#000000',
  },
}
SCSS
$custom: #845aba;
$custom-light: #aa8acf;
$custom-dark: #000000;
JSON
{
  "hex": "#845aba",
  "rgb": {
    "r": 132,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 266.25,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55556,
    "c": 0.1478,
    "h": 302
  },
  "luminance": 0.15763
}

Semantic roles & 50–950 ramp

primary
#845ABA
secondary
#BACCA3
accent
#D1579C
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #845ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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