#8156BD#8156BD

#8156BD is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.8% C 0.157 H 300.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8156BD
RGBrgb(129, 86, 189)
HSLhsl(265, 44%, 54%)
HSVhsv(265, 54%, 74%)
CMYKcmyk(31.7%, 54.5%, 0%, 25.9%)
CIE-LABlab(45.63, 39.31, -47.93)
CIE-LCHlch(45.63, 61.99, 309.36°)
OKLaboklab(54.77% 0.08 -0.1354)
OKLCHoklch(54.77% 0.157 300.6)
XYZxyz(21.5642, 14.9967, 49.8928)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8156BD #92BD56
analogous
#565FBD #8156BD #B556BD
triadic
#8156BD #BD8156 #56BD81
tetradic
#8156BD #BD565F #92BD56 #56BDB5
square
#8156BD #BD565F #92BD56 #56BDB5
split-complementary
#8156BD #BDB556 #5FBD56
monochromatic
#472B6E #633C9A #8156BD #A282CE #C3AEDF

Accessibility & contrast

On white

5.25
#8156BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8156BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8156BD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8156BD#FFFFFF#000000##FFFFFF
##8156BD1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6CC0
Deuteranopia (green-blind)
#3C6BBB
Tritanopia (blue-blind)
#756A81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8156bd;
/* rgb */ color: rgb(129, 86, 189);
/* oklch */ color: oklch(54.8% 0.157 300.6);
Tailwind
colors: {
  custom: {
    50: '#a987d1',
    500: '#8156bd',
    950: '#000000',
  },
}
SCSS
$custom: #8156bd;
$custom-light: #a987d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8156bd",
  "rgb": {
    "r": 129,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 265.049,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54774,
    "c": 0.15725,
    "h": 300.6
  },
  "luminance": 0.14997
}

Semantic roles & 50–950 ramp

primary
#8156BD
secondary
#BBCDA1
accent
#D4549E
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8156BD

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

Preview Lab → · Contrast checker → · Palette generator →

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