#8156E6#8156E6

#8156E6 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.6% C 0.207 H 292.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8156E6
RGBrgb(129, 86, 230)
HSLhsl(258, 74%, 62%)
HSVhsv(258, 63%, 90%)
CMYKcmyk(43.9%, 62.6%, 0%, 9.8%)
CIE-LABlab(48.30, 50.13, -67.11)
CIE-LCHlch(48.30, 83.76, 306.76°)
OKLaboklab(57.58% 0.079 -0.1917)
OKLCHoklch(57.58% 0.207 292.4)
XYZxyz(26.6600, 17.0351, 76.7310)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8156E6 #BBE656
analogous
#5673E6 #8156E6 #C956E6
triadic
#8156E6 #E68156 #56E681
tetradic
#8156E6 #E65673 #BBE656 #56E6C9
square
#8156E6 #E65673 #BBE656 #56E6C9
split-complementary
#8156E6 #E6C956 #73E656
monochromatic
#4419A9 #5921DE #8156E6 #A98BEE #D0C1F6

Accessibility & contrast

On white

4.76
#8156E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8156E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8156E6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8156E6#FFFFFF#000000##FFFFFF
##8156E61.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#647896
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8156e6;
/* rgb */ color: rgb(129, 86, 230);
/* oklch */ color: oklch(57.6% 0.207 292.4);
Tailwind
colors: {
  custom: {
    50: '#ac88ef',
    500: '#8156e6',
    950: '#000000',
  },
}
SCSS
$custom: #8156e6;
$custom-light: #ac88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8156e6",
  "rgb": {
    "r": 129,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 257.917,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57584,
    "c": 0.20738,
    "h": 292.4
  },
  "luminance": 0.17036
}

Semantic roles & 50–950 ramp

primary
#8156E6
secondary
#D7E6B1
accent
#D60F9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8156E6

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

Preview Lab → · Contrast checker → · Palette generator →

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