#844EA2#844EA2

#844EA2 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.2% C 0.138 H 312.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#844EA2
RGBrgb(132, 78, 162)
HSLhsl(279, 35%, 47%)
HSVhsv(279, 52%, 64%)
CMYKcmyk(18.5%, 51.9%, 0%, 36.5%)
CIE-LABlab(42.71, 38.07, -36.68)
CIE-LCHlch(42.71, 52.86, 316.07°)
OKLaboklab(52.2% 0.0928 -0.1024)
OKLCHoklch(52.2% 0.138 312.2)
XYZxyz(18.7606, 12.9634, 35.6893)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#844EA2 #6CA24E
analogous
#5A4EA2 #844EA2 #A24E96
triadic
#844EA2 #A2844E #4EA284
tetradic
#844EA2 #A25A4E #6CA24E #4E96A2
square
#844EA2 #A25A4E #6CA24E #4E96A2
split-complementary
#844EA2 #96A24E #4EA25A
monochromatic
#41264F #623A79 #844EA2 #A172BB #BD9BCF

Accessibility & contrast

On white

5.85
#844EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#844EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #844EA2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##844EA2#FFFFFF#000000##FFFFFF
##844EA21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A5
Deuteranopia (green-blind)
#4A66A0
Tritanopia (blue-blind)
#815C70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #844ea2;
/* rgb */ color: rgb(132, 78, 162);
/* oklch */ color: oklch(52.2% 0.138 312.2);
Tailwind
colors: {
  custom: {
    50: '#aa81be',
    500: '#844ea2',
    950: '#000000',
  },
}
SCSS
$custom: #844ea2;
$custom-light: #aa81be;
$custom-dark: #000000;
JSON
{
  "hex": "#844ea2",
  "rgb": {
    "r": 132,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 278.571,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52196,
    "c": 0.13821,
    "h": 312.2
  },
  "luminance": 0.12963
}

Semantic roles & 50–950 ramp

primary
#844EA2
secondary
#A0BC90
accent
#CB5D84
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #844EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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