#8156F0#8156F0

#8156F0 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.3% C 0.219 H 290.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8156F0
RGBrgb(129, 86, 240)
HSLhsl(257, 84%, 64%)
HSVhsv(257, 64%, 94%)
CMYKcmyk(46.3%, 64.2%, 0%, 5.9%)
CIE-LABlab(49.02, 52.83, -71.57)
CIE-LCHlch(49.02, 88.96, 306.44°)
OKLaboklab(58.33% 0.0781 -0.2048)
OKLCHoklch(58.33% 0.219 290.9)
XYZxyz(28.1048, 17.6130, 84.3400)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8156F0 #C5F056
analogous
#5678F0 #8156F0 #CE56F0
triadic
#8156F0 #F08156 #56F081
tetradic
#8156F0 #F05678 #C5F056 #56F0CE
square
#8156F0 #F05678 #C5F056 #56F0CE
split-complementary
#8156F0 #F0CE56 #78F056
monochromatic
#4011BB #571EEB #8156F0 #AB8EF5 #D5C6FA

Accessibility & contrast

On white

4.64
#8156F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8156F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8156F0
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8156F0#FFFFFF#000000##FFFFFF
##8156F01.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F5
Deuteranopia (green-blind)
#0071ED
Tritanopia (blue-blind)
#5E7B9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8156f0;
/* rgb */ color: rgb(129, 86, 240);
/* oklch */ color: oklch(58.3% 0.219 290.9);
Tailwind
colors: {
  custom: {
    50: '#ae88f6',
    500: '#8156f0',
    950: '#000000',
  },
}
SCSS
$custom: #8156f0;
$custom-light: #ae88f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8156f0",
  "rgb": {
    "r": 129,
    "g": 86,
    "b": 240
  },
  "hsl": {
    "h": 256.753,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.5833,
    "c": 0.21921,
    "h": 290.9
  },
  "luminance": 0.17614
}

Semantic roles & 50–950 ramp

primary
#8156F0
secondary
#DDECB6
accent
#E005A3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8156F0

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

Preview Lab → · Contrast checker → · Palette generator →

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