#8156F3#8156F3

#8156F3 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.223 H 290.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8156F3
RGBrgb(129, 86, 243)
HSLhsl(256, 87%, 65%)
HSVhsv(256, 65%, 95%)
CMYKcmyk(46.9%, 64.6%, 0%, 4.7%)
CIE-LABlab(49.24, 53.65, -72.89)
CIE-LCHlch(49.24, 90.51, 306.35°)
OKLaboklab(58.56% 0.0777 -0.2087)
OKLCHoklch(58.56% 0.223 290.4)
XYZxyz(28.5541, 17.7927, 86.7065)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8156F3 #C8F356
analogous
#567AF3 #8156F3 #CF56F3
triadic
#8156F3 #F38156 #56F381
tetradic
#8156F3 #F3567A #C8F356 #56F3CF
square
#8156F3 #F3567A #C8F356 #56F3CF
split-complementary
#8156F3 #F3CF56 #7AF356
monochromatic
#3F0EC1 #561DEF #8156F3 #AC8FF7 #D6C8FB

Accessibility & contrast

On white

4.61
#8156F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8156F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8156F3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8156F3#FFFFFF#000000##FFFFFF
##8156F31.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#0071F0
Tritanopia (blue-blind)
#5D7C9D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8156f3;
/* rgb */ color: rgb(129, 86, 243);
/* oklch */ color: oklch(58.6% 0.223 290.4);
Tailwind
colors: {
  custom: {
    50: '#ae88f8',
    500: '#8156f3',
    950: '#000000',
  },
}
SCSS
$custom: #8156f3;
$custom-light: #ae88f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8156f3",
  "rgb": {
    "r": 129,
    "g": 86,
    "b": 243
  },
  "hsl": {
    "h": 256.433,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58559,
    "c": 0.22274,
    "h": 290.4
  },
  "luminance": 0.17794
}

Semantic roles & 50–950 ramp

primary
#8156F3
secondary
#DFEDB7
accent
#E302A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8156F3

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

Preview Lab → · Contrast checker → · Palette generator →

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