#8156F6#8156F6

#8156F6 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.226 H 290.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8156F6
RGBrgb(129, 86, 246)
HSLhsl(256, 90%, 65%)
HSVhsv(256, 65%, 96%)
CMYKcmyk(47.6%, 65%, 0%, 3.5%)
CIE-LABlab(49.47, 54.47, -74.20)
CIE-LCHlch(49.47, 92.05, 306.28°)
OKLaboklab(58.79% 0.0774 -0.2126)
OKLCHoklch(58.79% 0.226 290)
XYZxyz(29.0109, 17.9754, 89.1119)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8156F6 #CBF656
analogous
#567BF6 #8156F6 #D156F6
triadic
#8156F6 #F68156 #56F681
tetradic
#8156F6 #F6567B #CBF656 #56F6D1
square
#8156F6 #F6567B #CBF656 #56F6D1
split-complementary
#8156F6 #F6D156 #7BF656
monochromatic
#3D0BC7 #561CF3 #8156F6 #AC90F9 #D8CAFC

Accessibility & contrast

On white

4.57
#8156F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8156F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8156F6
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8156F6#FFFFFF#000000##000000
##8156F61.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FB
Deuteranopia (green-blind)
#0072F3
Tritanopia (blue-blind)
#5B7D9F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8156f6;
/* rgb */ color: rgb(129, 86, 246);
/* oklch */ color: oklch(58.8% 0.226 290.0);
Tailwind
colors: {
  custom: {
    50: '#ae88fa',
    500: '#8156f6',
    950: '#000000',
  },
}
SCSS
$custom: #8156f6;
$custom-light: #ae88fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8156f6",
  "rgb": {
    "r": 129,
    "g": 86,
    "b": 246
  },
  "hsl": {
    "h": 256.125,
    "s": 89.888,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58789,
    "c": 0.22623,
    "h": 290
  },
  "luminance": 0.17977
}

Semantic roles & 50–950 ramp

primary
#8156F6
secondary
#E0EFB9
accent
#E600A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8156F6

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

Preview Lab → · Contrast checker → · Palette generator →

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