#845BAD#845BAD

#845BAD is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.0% C 0.130 H 305.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#845BAD
RGBrgb(132, 91, 173)
HSLhsl(270, 33%, 52%)
HSVhsv(270, 47%, 68%)
CMYKcmyk(23.7%, 47.4%, 0%, 32.2%)
CIE-LABlab(46.18, 33.27, -37.68)
CIE-LCHlch(46.18, 50.27, 311.44°)
OKLaboklab(54.97% 0.0755 -0.1054)
OKLCHoklch(54.97% 0.13 305.6)
XYZxyz(20.7981, 15.4050, 41.4048)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845BAD #84AD5B
analogous
#5B5BAD #845BAD #AD5BAD
triadic
#845BAD #AD845B #5BAD84
tetradic
#845BAD #AD5B5B #84AD5B #5BADAD
square
#845BAD #AD5B5B #84AD5B #5BADAD
split-complementary
#845BAD #ADAD5B #5BAD5B
monochromatic
#472F5E #654487 #845BAD #A384C1 #C1ADD6

Accessibility & contrast

On white

5.15
#845BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#845BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845BAD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845BAD#FFFFFF#000000##FFFFFF
##845BAD1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456CB0
Deuteranopia (green-blind)
#506EAB
Tritanopia (blue-blind)
#7E697C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #845bad;
/* rgb */ color: rgb(132, 91, 173);
/* oklch */ color: oklch(55.0% 0.130 305.6);
Tailwind
colors: {
  custom: {
    50: '#aa8ac6',
    500: '#845bad',
    950: '#000000',
  },
}
SCSS
$custom: #845bad;
$custom-light: #aa8ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#845bad",
  "rgb": {
    "r": 132,
    "g": 91,
    "b": 173
  },
  "hsl": {
    "h": 270,
    "s": 33.333,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54971,
    "c": 0.12966,
    "h": 305.6
  },
  "luminance": 0.15405
}

Semantic roles & 50–950 ramp

primary
#845BAD
secondary
#B2C4A0
accent
#C95E94
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #845BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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