#845ABC#845ABC

#845ABC is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.7% C 0.150 H 301.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#845ABC
RGBrgb(132, 90, 188)
HSLhsl(266, 42%, 55%)
HSVhsv(266, 52%, 74%)
CMYKcmyk(29.8%, 52.1%, 0%, 26.3%)
CIE-LABlab(46.78, 37.56, -45.50)
CIE-LCHlch(46.78, 59.00, 309.53°)
OKLaboklab(55.68% 0.0785 -0.1282)
OKLCHoklch(55.68% 0.15 301.5)
XYZxyz(22.2469, 15.8486, 49.4543)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845ABC #92BC5A
analogous
#5A61BC #845ABC #B55ABC
triadic
#845ABC #BC845A #5ABC84
tetradic
#845ABC #BC5A61 #92BC5A #5ABCB5
square
#845ABC #BC5A61 #92BC5A #5ABCB5
split-complementary
#845ABC #BCB55A #61BC5A
monochromatic
#492D6F #663F9A #845ABC #A486CE #C5B1DF

Accessibility & contrast

On white

5.04
#845ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#845ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845ABC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845ABC#FFFFFF#000000##FFFFFF
##845ABC1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386EBF
Deuteranopia (green-blind)
#446EBA
Tritanopia (blue-blind)
#796C82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #845abc;
/* rgb */ color: rgb(132, 90, 188);
/* oklch */ color: oklch(55.7% 0.150 301.5);
Tailwind
colors: {
  custom: {
    50: '#ab8ad1',
    500: '#845abc',
    950: '#000000',
  },
}
SCSS
$custom: #845abc;
$custom-light: #ab8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#845abc",
  "rgb": {
    "r": 132,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 265.714,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55677,
    "c": 0.15032,
    "h": 301.5
  },
  "luminance": 0.15849
}

Semantic roles & 50–950 ramp

primary
#845ABC
secondary
#BCCEA4
accent
#D2569D
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #845ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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