#845EB0#845EB0

#845EB0 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.7% C 0.128 H 303.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#845EB0
RGBrgb(132, 94, 176)
HSLhsl(268, 34%, 53%)
HSVhsv(268, 47%, 69%)
CMYKcmyk(25%, 46.6%, 0%, 31%)
CIE-LABlab(47.03, 32.26, -38.10)
CIE-LCHlch(47.03, 49.92, 310.25°)
OKLaboklab(55.66% 0.0717 -0.1066)
OKLCHoklch(55.66% 0.128 303.9)
XYZxyz(21.3532, 16.0456, 43.0381)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845EB0 #8AB05E
analogous
#5E61B0 #845EB0 #AD5EB0
triadic
#845EB0 #B0845E #5EB084
tetradic
#845EB0 #B05E61 #8AB05E #5EB0AD
square
#845EB0 #B05E61 #8AB05E #5EB0AD
split-complementary
#845EB0 #B0AD5E #61B05E
monochromatic
#483163 #66458C #845EB0 #A387C4 #C3B0D8

Accessibility & contrast

On white

4.99
#845EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#845EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845EB0
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845EB0#FFFFFF#000000##FFFFFF
##845EB01.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486FB3
Deuteranopia (green-blind)
#516FAE
Tritanopia (blue-blind)
#7D6C7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #845eb0;
/* rgb */ color: rgb(132, 94, 176);
/* oklch */ color: oklch(55.7% 0.128 303.9);
Tailwind
colors: {
  custom: {
    50: '#aa8cc8',
    500: '#845eb0',
    950: '#000000',
  },
}
SCSS
$custom: #845eb0;
$custom-light: #aa8cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#845eb0",
  "rgb": {
    "r": 132,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 267.805,
    "s": 34.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55658,
    "c": 0.12844,
    "h": 303.9
  },
  "luminance": 0.16046
}

Semantic roles & 50–950 ramp

primary
#845EB0
secondary
#B6C7A3
accent
#CA5E98
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #845EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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