#8156DC#8156DC

#8156DC is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.9% C 0.195 H 294.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8156DC
RGBrgb(129, 86, 220)
HSLhsl(259, 66%, 60%)
HSVhsv(259, 61%, 86%)
CMYKcmyk(41.4%, 60.9%, 0%, 13.7%)
CIE-LABlab(47.61, 47.44, -62.57)
CIE-LCHlch(47.61, 78.52, 307.17°)
OKLaboklab(56.86% 0.0797 -0.1784)
OKLCHoklch(56.86% 0.195 294.1)
XYZxyz(25.2959, 16.4894, 69.5463)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8156DC #B1DC56
analogous
#566EDC #8156DC #C456DC
triadic
#8156DC #DC8156 #56DC81
tetradic
#8156DC #DC566E #B1DC56 #56DCC4
square
#8156DC #DC566E #B1DC56 #56DCC4
split-complementary
#8156DC #DCC456 #6EDC56
monochromatic
#462098 #5E2ACB #8156DC #A789E6 #CDBBF1

Accessibility & contrast

On white

4.89
#8156DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8156DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8156DC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8156DC#FFFFFF#000000##FFFFFF
##8156DC1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#697491
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8156dc;
/* rgb */ color: rgb(129, 86, 220);
/* oklch */ color: oklch(56.9% 0.195 294.1);
Tailwind
colors: {
  custom: {
    50: '#ab87e8',
    500: '#8156dc',
    950: '#000000',
  },
}
SCSS
$custom: #8156dc;
$custom-light: #ab87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8156dc",
  "rgb": {
    "r": 129,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 259.254,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.5686,
    "c": 0.19538,
    "h": 294.1
  },
  "luminance": 0.1649
}

Semantic roles & 50–950 ramp

primary
#8156DC
secondary
#D0E1AD
accent
#E93FB2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8156DC

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

Preview Lab → · Contrast checker → · Palette generator →

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