#8159BB#8159BB

#8159BB is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.1% C 0.150 H 300.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8159BB
RGBrgb(129, 89, 187)
HSLhsl(264, 42%, 54%)
HSVhsv(264, 52%, 73%)
CMYKcmyk(31%, 52.4%, 0%, 26.7%)
CIE-LABlab(46.18, 37.09, -45.90)
CIE-LCHlch(46.18, 59.01, 308.94°)
OKLaboklab(55.14% 0.0759 -0.1294)
OKLCHoklch(55.14% 0.15 300.4)
XYZxyz(21.5932, 15.3996, 48.8389)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159BB #93BB59
analogous
#5962BB #8159BB #B259BB
triadic
#8159BB #BB8159 #59BB81
tetradic
#8159BB #BB5962 #93BB59 #59BBB2
square
#8159BB #BB5962 #93BB59 #59BBB2
split-complementary
#8159BB #BBB259 #62BB59
monochromatic
#472D6D #633E98 #8159BB #A284CD #C3B0DF

Accessibility & contrast

On white

5.15
#8159BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8159BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8159BB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159BB#FFFFFF#000000##FFFFFF
##8159BB1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBE
Deuteranopia (green-blind)
#416DB9
Tritanopia (blue-blind)
#756C81
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8159bb;
/* rgb */ color: rgb(129, 89, 187);
/* oklch */ color: oklch(55.1% 0.150 300.4);
Tailwind
colors: {
  custom: {
    50: '#a889d0',
    500: '#8159bb',
    950: '#000000',
  },
}
SCSS
$custom: #8159bb;
$custom-light: #a889d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8159bb",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 264.49,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55141,
    "c": 0.15004,
    "h": 300.4
  },
  "luminance": 0.154
}

Semantic roles & 50–950 ramp

primary
#8159BB
secondary
#BCCDA3
accent
#D2569F
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8159BB

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

Preview Lab → · Contrast checker → · Palette generator →

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