#8159BF#8159BF

#8159BF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.4% C 0.155 H 299.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8159BF
RGBrgb(129, 89, 191)
HSLhsl(264, 44%, 55%)
HSVhsv(264, 53%, 75%)
CMYKcmyk(32.5%, 53.4%, 0%, 25.1%)
CIE-LABlab(46.41, 38.12, -47.85)
CIE-LCHlch(46.41, 61.17, 308.54°)
OKLaboklab(55.39% 0.0762 -0.1351)
OKLCHoklch(55.39% 0.155 299.4)
XYZxyz(22.0274, 15.5733, 51.1256)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159BF #97BF59
analogous
#5964BF #8159BF #B459BF
triadic
#8159BF #BF8159 #59BF81
tetradic
#8159BF #BF5964 #97BF59 #59BFB4
square
#8159BF #BF5964 #97BF59 #59BFB4
split-complementary
#8159BF #BFB459 #64BF59
monochromatic
#472C72 #633D9E #8159BF #A385D0 #C4B1E1

Accessibility & contrast

On white

5.10
#8159BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8159BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8159BF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159BF#FFFFFF#000000##FFFFFF
##8159BF1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326EC2
Deuteranopia (green-blind)
#3E6DBD
Tritanopia (blue-blind)
#746D83
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8159bf;
/* rgb */ color: rgb(129, 89, 191);
/* oklch */ color: oklch(55.4% 0.155 299.4);
Tailwind
colors: {
  custom: {
    50: '#a989d3',
    500: '#8159bf',
    950: '#000000',
  },
}
SCSS
$custom: #8159bf;
$custom-light: #a989d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8159bf",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 263.529,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55389,
    "c": 0.15513,
    "h": 299.4
  },
  "luminance": 0.15573
}

Semantic roles & 50–950 ramp

primary
#8159BF
secondary
#BFCFA4
accent
#D454A2
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8159BF

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

Preview Lab → · Contrast checker → · Palette generator →

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