#8156CE#8156CE

#8156CE is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.9% C 0.178 H 296.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8156CE
RGBrgb(129, 86, 206)
HSLhsl(262, 55%, 57%)
HSVhsv(262, 58%, 81%)
CMYKcmyk(37.4%, 58.3%, 0%, 19.2%)
CIE-LABlab(46.68, 43.72, -56.07)
CIE-LCHlch(46.68, 71.10, 307.95°)
OKLaboklab(55.89% 0.0802 -0.1593)
OKLCHoklch(55.89% 0.178 296.7)
XYZxyz(23.5188, 15.7785, 60.1870)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8156CE #A3CE56
analogous
#5667CE #8156CE #BD56CE
triadic
#8156CE #CE8156 #56CE81
tetradic
#8156CE #CE5667 #A3CE56 #56CEBD
square
#8156CE #CE5667 #A3CE56 #56CEBD
split-complementary
#8156CE #CEBD56 #67CE56
monochromatic
#482683 #6134B3 #8156CE #A485DC #C8B5EA

Accessibility & contrast

On white

5.05
#8156CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8156CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8156CE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8156CE#FFFFFF#000000##FFFFFF
##8156CE1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6FD2
Deuteranopia (green-blind)
#276DCB
Tritanopia (blue-blind)
#6F708A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8156ce;
/* rgb */ color: rgb(129, 86, 206);
/* oklch */ color: oklch(55.9% 0.178 296.7);
Tailwind
colors: {
  custom: {
    50: '#aa87de',
    500: '#8156ce',
    950: '#000000',
  },
}
SCSS
$custom: #8156ce;
$custom-light: #aa87de;
$custom-dark: #000000;
JSON
{
  "hex": "#8156ce",
  "rgb": {
    "r": 129,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 261.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55887,
    "c": 0.17833,
    "h": 296.7
  },
  "luminance": 0.15779
}

Semantic roles & 50–950 ramp

primary
#8156CE
secondary
#C7D8A8
accent
#DE49A9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8156CE

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

Preview Lab → · Contrast checker → · Palette generator →

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