#8156BF#8156BF

#8156BF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.9% C 0.160 H 300.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8156BF
RGBrgb(129, 86, 191)
HSLhsl(265, 45%, 54%)
HSVhsv(265, 55%, 75%)
CMYKcmyk(32.5%, 55%, 0%, 25.1%)
CIE-LABlab(45.75, 39.82, -48.90)
CIE-LCHlch(45.75, 63.07, 309.16°)
OKLaboklab(54.9% 0.0801 -0.1382)
OKLCHoklch(54.9% 0.16 300.1)
XYZxyz(21.7828, 15.0841, 51.0440)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8156BF #94BF56
analogous
#5660BF #8156BF #B556BF
triadic
#8156BF #BF8156 #56BF81
tetradic
#8156BF #BF5660 #94BF56 #56BFB5
square
#8156BF #BF5660 #94BF56 #56BFB5
split-complementary
#8156BF #BFB556 #60BF56
monochromatic
#472A70 #633B9D #8156BF #A282D0 #C3AFE1

Accessibility & contrast

On white

5.23
#8156BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8156BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8156BF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8156BF#FFFFFF#000000##FFFFFF
##8156BF1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC3
Deuteranopia (green-blind)
#3A6CBD
Tritanopia (blue-blind)
#746B82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8156bf;
/* rgb */ color: rgb(129, 86, 191);
/* oklch */ color: oklch(54.9% 0.160 300.1);
Tailwind
colors: {
  custom: {
    50: '#a987d3',
    500: '#8156bf',
    950: '#000000',
  },
}
SCSS
$custom: #8156bf;
$custom-light: #a987d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8156bf",
  "rgb": {
    "r": 129,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 264.571,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54901,
    "c": 0.15975,
    "h": 300.1
  },
  "luminance": 0.15084
}

Semantic roles & 50–950 ramp

primary
#8156BF
secondary
#BCCFA2
accent
#D553A0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8156BF

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

Preview Lab → · Contrast checker → · Palette generator →

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