#8156E9#8156E9

#8156E9 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.8% C 0.211 H 291.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8156E9
RGBrgb(129, 86, 233)
HSLhsl(258, 77%, 63%)
HSVhsv(258, 63%, 91%)
CMYKcmyk(44.6%, 63.1%, 0%, 8.6%)
CIE-LABlab(48.52, 50.94, -68.46)
CIE-LCHlch(48.52, 85.33, 306.65°)
OKLaboklab(57.8% 0.0788 -0.1957)
OKLCHoklch(57.8% 0.211 291.9)
XYZxyz(27.0850, 17.2050, 78.9688)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8156E9 #BEE956
analogous
#5675E9 #8156E9 #CA56E9
triadic
#8156E9 #E98156 #56E981
tetradic
#8156E9 #E95675 #BEE956 #56E9CA
square
#8156E9 #E95675 #BEE956 #56E9CA
split-complementary
#8156E9 #E9CA56 #75E956
monochromatic
#4317AE #5920E2 #8156E9 #A98CF0 #D2C2F7

Accessibility & contrast

On white

4.73
#8156E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8156E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8156E9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8156E9#FFFFFF#000000##FFFFFF
##8156E91.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#0070E6
Tritanopia (blue-blind)
#627998
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8156e9;
/* rgb */ color: rgb(129, 86, 233);
/* oklch */ color: oklch(57.8% 0.211 291.9);
Tailwind
colors: {
  custom: {
    50: '#ad88f1',
    500: '#8156e9',
    950: '#000000',
  },
}
SCSS
$custom: #8156e9;
$custom-light: #ad88f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8156e9",
  "rgb": {
    "r": 129,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 257.551,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57805,
    "c": 0.21095,
    "h": 291.9
  },
  "luminance": 0.17206
}

Semantic roles & 50–950 ramp

primary
#8156E9
secondary
#D8E8B3
accent
#D90C9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8156E9

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

Preview Lab → · Contrast checker → · Palette generator →

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