#8156CD#8156CD

#8156CD is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.8% C 0.177 H 296.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8156CD
RGBrgb(129, 86, 205)
HSLhsl(262, 54%, 57%)
HSVhsv(262, 58%, 80%)
CMYKcmyk(37.1%, 58%, 0%, 19.6%)
CIE-LABlab(46.62, 43.46, -55.59)
CIE-LCHlch(46.62, 70.56, 308.01°)
OKLaboklab(55.82% 0.0803 -0.1579)
OKLCHoklch(55.82% 0.177 296.9)
XYZxyz(23.3977, 15.7301, 59.5493)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8156CD #A2CD56
analogous
#5666CD #8156CD #BD56CD
triadic
#8156CD #CD8156 #56CD81
tetradic
#8156CD #CD5666 #A2CD56 #56CDBD
square
#8156CD #CD5666 #A2CD56 #56CDBD
split-complementary
#8156CD #CDBD56 #66CD56
monochromatic
#482682 #6234B1 #8156CD #A485DB #C7B4E9

Accessibility & contrast

On white

5.07
#8156CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8156CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8156CD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8156CD#FFFFFF#000000##FFFFFF
##8156CD1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136FD1
Deuteranopia (green-blind)
#286DCA
Tritanopia (blue-blind)
#6F6F89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8156cd;
/* rgb */ color: rgb(129, 86, 205);
/* oklch */ color: oklch(55.8% 0.177 296.9);
Tailwind
colors: {
  custom: {
    50: '#aa87dd',
    500: '#8156cd',
    950: '#000000',
  },
}
SCSS
$custom: #8156cd;
$custom-light: #aa87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8156cd",
  "rgb": {
    "r": 129,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 261.681,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.1771,
    "h": 296.9
  },
  "luminance": 0.1573
}

Semantic roles & 50–950 ramp

primary
#8156CD
secondary
#C6D8A7
accent
#DE4AA8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8156CD

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

Preview Lab → · Contrast checker → · Palette generator →

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