#844EB5#844EB5

#844EB5 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.3% C 0.161 H 305.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#844EB5
RGBrgb(132, 78, 181)
HSLhsl(271, 41%, 51%)
HSVhsv(271, 57%, 71%)
CMYKcmyk(27.1%, 56.9%, 0%, 29%)
CIE-LABlab(43.79, 42.54, -46.19)
CIE-LCHlch(43.79, 62.79, 312.64°)
OKLaboklab(53.34% 0.0941 -0.1302)
OKLCHoklch(53.34% 0.161 305.9)
XYZxyz(20.5788, 13.6907, 45.2655)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#844EB5 #7FB54E
analogous
#504EB5 #844EB5 #B54EB3
triadic
#844EB5 #B5844E #4EB584
tetradic
#844EB5 #B5504E #7FB54E #4EB3B5
square
#844EB5 #B5504E #7FB54E #4EB3B5
split-complementary
#844EB5 #B3B54E #4EB550
monochromatic
#462860 #653A8B #844EB5 #A279C7 #C0A4D9

Accessibility & contrast

On white

5.62
#844EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#844EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #844EB5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##844EB5#FFFFFF#000000##FFFFFF
##844EB51.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2766B8
Deuteranopia (green-blind)
#3C68B3
Tritanopia (blue-blind)
#7C627A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #844eb5;
/* rgb */ color: rgb(132, 78, 181);
/* oklch */ color: oklch(53.3% 0.161 305.9);
Tailwind
colors: {
  custom: {
    50: '#ab82cc',
    500: '#844eb5',
    950: '#000000',
  },
}
SCSS
$custom: #844eb5;
$custom-light: #ab82cc;
$custom-dark: #000000;
JSON
{
  "hex": "#844eb5",
  "rgb": {
    "r": 132,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 271.456,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5334,
    "c": 0.16061,
    "h": 305.9
  },
  "luminance": 0.13691
}

Semantic roles & 50–950 ramp

primary
#844EB5
secondary
#AEC699
accent
#D15791
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #844EB5

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

Preview Lab → · Contrast checker → · Palette generator →

#844EB5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva