#8440AA#8440AA

#8440AA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.6% C 0.169 H 311.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8440AA
RGBrgb(132, 64, 170)
HSLhsl(278, 45%, 46%)
HSVhsv(278, 62%, 67%)
CMYKcmyk(22.4%, 62.4%, 0%, 33.3%)
CIE-LABlab(40.37, 47.33, -45.16)
CIE-LCHlch(40.37, 65.42, 316.35°)
OKLaboklab(50.63% 0.112 -0.1271)
OKLCHoklch(50.63% 0.169 311.4)
XYZxyz(18.6035, 11.4750, 39.2573)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8440AA #66AA40
analogous
#4F40AA #8440AA #AA409B
triadic
#8440AA #AA8440 #40AA84
tetradic
#8440AA #AA4F40 #66AA40 #409BAA
square
#8440AA #AA4F40 #66AA40 #409BAA
split-complementary
#8440AA #9BAA40 #40AA4F
monochromatic
#3F1F51 #612F7E #8440AA #A163C4 #BC8FD5

Accessibility & contrast

On white

6.37
#8440AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8440AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8440AA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8440AA#FFFFFF#000000##FFFFFF
##8440AA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145CAD
Deuteranopia (green-blind)
#3660A7
Tritanopia (blue-blind)
#7F546F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8440aa;
/* rgb */ color: rgb(132, 64, 170);
/* oklch */ color: oklch(50.6% 0.169 311.4);
Tailwind
colors: {
  custom: {
    50: '#ab79c4',
    500: '#8440aa',
    950: '#000000',
  },
}
SCSS
$custom: #8440aa;
$custom-light: #ab79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8440aa",
  "rgb": {
    "r": 132,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 278.491,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50632,
    "c": 0.16942,
    "h": 311.4
  },
  "luminance": 0.11475
}

Semantic roles & 50–950 ramp

primary
#8440AA
secondary
#9BC086
accent
#D55381
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8440AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8440AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva