#8440B2#8440B2

#8440B2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.178 H 308.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8440B2
RGBrgb(132, 64, 178)
HSLhsl(276, 47%, 47%)
HSVhsv(276, 64%, 70%)
CMYKcmyk(25.8%, 64%, 0%, 30.2%)
CIE-LABlab(40.88, 49.15, -49.09)
CIE-LCHlch(40.88, 69.47, 315.04°)
OKLaboklab(51.16% 0.1118 -0.1386)
OKLCHoklch(51.16% 0.178 308.9)
XYZxyz(19.3834, 11.7870, 43.3649)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8440B2 #6EB240
analogous
#4B40B2 #8440B2 #B240A7
triadic
#8440B2 #B28440 #40B284
tetradic
#8440B2 #B24B40 #6EB240 #40A7B2
square
#8440B2 #B24B40 #6EB240 #40A7B2
split-complementary
#8440B2 #A7B240 #40B24B
monochromatic
#412058 #633085 #8440B2 #A167C8 #BD94D8

Accessibility & contrast

On white

6.25
#8440B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8440B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8440B2#FFFFFF#000000##FFFFFF
##8440B21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#2E61AF
Tritanopia (blue-blind)
#7D5773
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8440b2;
/* rgb */ color: rgb(132, 64, 178);
/* oklch */ color: oklch(51.2% 0.178 308.9);
Tailwind
colors: {
  custom: {
    50: '#ab79ca',
    500: '#8440b2',
    950: '#000000',
  },
}
SCSS
$custom: #8440b2;
$custom-light: #ab79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8440b2",
  "rgb": {
    "r": 132,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 275.789,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5116,
    "c": 0.17805,
    "h": 308.9
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#8440B2
secondary
#A1C48A
accent
#D75187
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8440B2

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

Preview Lab → · Contrast checker → · Palette generator →

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