#8156E8#8156E8

#8156E8 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.7% C 0.210 H 292.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8156E8
RGBrgb(129, 86, 232)
HSLhsl(258, 76%, 62%)
HSVhsv(258, 63%, 91%)
CMYKcmyk(44.4%, 62.9%, 0%, 9%)
CIE-LABlab(48.45, 50.67, -68.01)
CIE-LCHlch(48.45, 84.81, 306.69°)
OKLaboklab(57.73% 0.0789 -0.1944)
OKLCHoklch(57.73% 0.21 292.1)
XYZxyz(26.9425, 17.1480, 78.2186)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8156E8 #BDE856
analogous
#5674E8 #8156E8 #CA56E8
triadic
#8156E8 #E88156 #56E881
tetradic
#8156E8 #E85674 #BDE856 #56E8CA
square
#8156E8 #E85674 #BDE856 #56E8CA
split-complementary
#8156E8 #E8CA56 #74E856
monochromatic
#4317AC #5920E1 #8156E8 #A98CEF #D1C2F7

Accessibility & contrast

On white

4.74
#8156E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8156E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8156E8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8156E8#FFFFFF#000000##FFFFFF
##8156E81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#637897
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8156e8;
/* rgb */ color: rgb(129, 86, 232);
/* oklch */ color: oklch(57.7% 0.210 292.1);
Tailwind
colors: {
  custom: {
    50: '#ad88f0',
    500: '#8156e8',
    950: '#000000',
  },
}
SCSS
$custom: #8156e8;
$custom-light: #ad88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8156e8",
  "rgb": {
    "r": 129,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 257.671,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57731,
    "c": 0.20976,
    "h": 292.1
  },
  "luminance": 0.17149
}

Semantic roles & 50–950 ramp

primary
#8156E8
secondary
#D8E8B2
accent
#D80D9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8156E8

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

Preview Lab → · Contrast checker → · Palette generator →

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