#8440BA#8440BA

#8440BA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.7% C 0.187 H 306.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8440BA
RGBrgb(132, 64, 186)
HSLhsl(273, 49%, 49%)
HSVhsv(273, 66%, 73%)
CMYKcmyk(29%, 65.6%, 0%, 27.1%)
CIE-LABlab(41.40, 51.01, -52.95)
CIE-LCHlch(41.40, 73.52, 313.93°)
OKLaboklab(51.71% 0.1112 -0.1499)
OKLCHoklch(51.71% 0.187 306.6)
XYZxyz(20.2102, 12.1177, 47.7191)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8440BA #76BA40
analogous
#4740BA #8440BA #BA40B3
triadic
#8440BA #BA8440 #40BA84
tetradic
#8440BA #BA4740 #76BA40 #40B3BA
square
#8440BA #BA4740 #76BA40 #40B3BA
split-complementary
#8440BA #B3BA40 #40BA47
monochromatic
#43215F #64308C #8440BA #A16BCC #BE99DC

Accessibility & contrast

On white

6.13
#8440BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8440BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8440BA#FFFFFF#000000##FFFFFF
##8440BA1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#2362B7
Tritanopia (blue-blind)
#7B5A77
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8440ba;
/* rgb */ color: rgb(132, 64, 186);
/* oklch */ color: oklch(51.7% 0.187 306.6);
Tailwind
colors: {
  custom: {
    50: '#ac79cf',
    500: '#8440ba',
    950: '#000000',
  },
}
SCSS
$custom: #8440ba;
$custom-light: #ac79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8440ba",
  "rgb": {
    "r": 132,
    "g": 64,
    "b": 186
  },
  "hsl": {
    "h": 273.443,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51709,
    "c": 0.18669,
    "h": 306.6
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#8440BA
secondary
#A8C88E
accent
#D84F8C
background
#FAF7FC
surface
#F5EEF9
border
#CFC9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8440BA

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

Preview Lab → · Contrast checker → · Palette generator →

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