#8156FD#8156FD

#8156FD is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.3% C 0.234 H 289.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8156FD
RGBrgb(129, 86, 253)
HSLhsl(255, 98%, 66%)
HSVhsv(255, 66%, 99%)
CMYKcmyk(49%, 66%, 0%, 0.8%)
CIE-LABlab(49.99, 56.38, -77.25)
CIE-LCHlch(49.99, 95.63, 306.12°)
OKLaboklab(59.33% 0.0765 -0.2215)
OKLCHoklch(59.33% 0.234 289)
XYZxyz(30.1055, 18.4133, 94.8773)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8156FD #D2FD56
analogous
#567FFD #8156FD #D556FD
triadic
#8156FD #FD8156 #56FD81
tetradic
#8156FD #FD567F #D2FD56 #56FDD5
square
#8156FD #FD567F #D2FD56 #56FDD5
split-complementary
#8156FD #FDD556 #7FFD56
monochromatic
#3903D6 #541AFC #8156FD #AE92FE #DBCFFE

Accessibility & contrast

On white

4.48
#8156FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8156FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8156FD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8156FD#FFFFFF#000000##000000
##8156FD1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0073FA
Tritanopia (blue-blind)
#5680A3
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8156fd;
/* rgb */ color: rgb(129, 86, 253);
/* oklch */ color: oklch(59.3% 0.234 289.0);
Tailwind
colors: {
  custom: {
    50: '#af88ff',
    500: '#8156fd',
    950: '#000000',
  },
}
SCSS
$custom: #8156fd;
$custom-light: #af88ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8156fd",
  "rgb": {
    "r": 129,
    "g": 86,
    "b": 253
  },
  "hsl": {
    "h": 255.449,
    "s": 97.661,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59333,
    "c": 0.23436,
    "h": 289
  },
  "luminance": 0.18415
}

Semantic roles & 50–950 ramp

primary
#8156FD
secondary
#E5F2BC
accent
#E600AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8156FD

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

Preview Lab → · Contrast checker → · Palette generator →

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