#8156BB#8156BB

#8156BB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.6% C 0.155 H 301.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8156BB
RGBrgb(129, 86, 187)
HSLhsl(266, 43%, 54%)
HSVhsv(266, 54%, 73%)
CMYKcmyk(31%, 54%, 0%, 26.7%)
CIE-LABlab(45.51, 38.80, -46.96)
CIE-LCHlch(45.51, 60.91, 309.57°)
OKLaboklab(54.65% 0.0799 -0.1325)
OKLCHoklch(54.65% 0.155 301.1)
XYZxyz(21.3486, 14.9105, 48.7574)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8156BB #90BB56
analogous
#565DBB #8156BB #B456BB
triadic
#8156BB #BB8156 #56BB81
tetradic
#8156BB #BB565D #90BB56 #56BBB4
square
#8156BB #BB565D #90BB56 #56BBB4
split-complementary
#8156BB #BBB456 #5DBB56
monochromatic
#472B6B #633D97 #8156BB #A282CD #C2ADDE

Accessibility & contrast

On white

5.27
#8156BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8156BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8156BB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8156BB#FFFFFF#000000##FFFFFF
##8156BB1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBE
Deuteranopia (green-blind)
#3E6BB9
Tritanopia (blue-blind)
#766A80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8156bb;
/* rgb */ color: rgb(129, 86, 187);
/* oklch */ color: oklch(54.6% 0.155 301.1);
Tailwind
colors: {
  custom: {
    50: '#a987d0',
    500: '#8156bb',
    950: '#000000',
  },
}
SCSS
$custom: #8156bb;
$custom-light: #a987d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8156bb",
  "rgb": {
    "r": 129,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 265.545,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.15475,
    "h": 301.1
  },
  "luminance": 0.14911
}

Semantic roles & 50–950 ramp

primary
#8156BB
secondary
#BACCA1
accent
#D2559D
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8156BB

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

Preview Lab → · Contrast checker → · Palette generator →

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