#8451BA#8451BA

#8451BA is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.1% C 0.162 H 303.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8451BA
RGBrgb(132, 81, 186)
HSLhsl(269, 43%, 52%)
HSVhsv(269, 56%, 73%)
CMYKcmyk(29%, 56.5%, 0%, 27.1%)
CIE-LABlab(44.71, 42.11, -47.64)
CIE-LCHlch(44.71, 63.58, 311.48°)
OKLaboklab(54.12% 0.0903 -0.1344)
OKLCHoklch(54.12% 0.162 303.9)
XYZxyz(21.3191, 14.3356, 48.0888)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8451BA #87BA51
analogous
#5152BA #8451BA #B951BA
triadic
#8451BA #BA8451 #51BA84
tetradic
#8451BA #BA5152 #87BA51 #51BAB9
square
#8451BA #BA5152 #87BA51 #51BAB9
split-complementary
#8451BA #BAB951 #52BA51
monochromatic
#472968 #663A93 #8451BA #A37DCB #C2A9DD

Accessibility & contrast

On white

5.43
#8451BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8451BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8451BA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8451BA#FFFFFF#000000##FFFFFF
##8451BA1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2868BD
Deuteranopia (green-blind)
#3B6AB8
Tritanopia (blue-blind)
#7A657E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8451ba;
/* rgb */ color: rgb(132, 81, 186);
/* oklch */ color: oklch(54.1% 0.162 303.9);
Tailwind
colors: {
  custom: {
    50: '#ab84cf',
    500: '#8451ba',
    950: '#000000',
  },
}
SCSS
$custom: #8451ba;
$custom-light: #ab84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8451ba",
  "rgb": {
    "r": 132,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 269.143,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54115,
    "c": 0.16193,
    "h": 303.9
  },
  "luminance": 0.14336
}

Semantic roles & 50–950 ramp

primary
#8451BA
secondary
#B4CA9D
accent
#D35596
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8451BA

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

Preview Lab → · Contrast checker → · Palette generator →

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