#8440BB#8440BB

#8440BB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.188 H 306.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8440BB
RGBrgb(132, 64, 187)
HSLhsl(273, 49%, 49%)
HSVhsv(273, 66%, 73%)
CMYKcmyk(29.4%, 65.8%, 0%, 26.7%)
CIE-LABlab(41.47, 51.24, -53.43)
CIE-LCHlch(41.47, 74.03, 313.81°)
OKLaboklab(51.78% 0.1111 -0.1514)
OKLCHoklch(51.78% 0.188 306.3)
XYZxyz(20.3168, 12.1604, 48.2809)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8440BB #77BB40
analogous
#4740BB #8440BB #BB40B5
triadic
#8440BB #BB8440 #40BB84
tetradic
#8440BB #BB4740 #77BB40 #40B5BB
square
#8440BB #BB4740 #77BB40 #40B5BB
split-complementary
#8440BB #B5BB40 #40BB47
monochromatic
#442160 #64308D #8440BB #A16CCD #BE99DC

Accessibility & contrast

On white

6.12
#8440BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8440BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8440BB#FFFFFF#000000##FFFFFF
##8440BB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#2162B8
Tritanopia (blue-blind)
#7B5A78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8440bb;
/* rgb */ color: rgb(132, 64, 187);
/* oklch */ color: oklch(51.8% 0.188 306.3);
Tailwind
colors: {
  custom: {
    50: '#ac79d0',
    500: '#8440bb',
    950: '#000000',
  },
}
SCSS
$custom: #8440bb;
$custom-light: #ac79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8440bb",
  "rgb": {
    "r": 132,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 273.171,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51779,
    "c": 0.18777,
    "h": 306.3
  },
  "luminance": 0.1216
}

Semantic roles & 50–950 ramp

primary
#8440BB
secondary
#A8C88F
accent
#D94F8D
background
#FAF7FC
surface
#F5EEF9
border
#CFC9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8440BB

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

Preview Lab → · Contrast checker → · Palette generator →

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