#8156DF#8156DF

#8156DF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.1% C 0.199 H 293.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8156DF
RGBrgb(129, 86, 223)
HSLhsl(259, 68%, 61%)
HSVhsv(259, 61%, 87%)
CMYKcmyk(42.2%, 61.4%, 0%, 12.5%)
CIE-LABlab(47.82, 48.24, -63.94)
CIE-LCHlch(47.82, 80.10, 307.03°)
OKLaboklab(57.07% 0.0796 -0.1824)
OKLCHoklch(57.07% 0.199 293.6)
XYZxyz(25.6967, 16.6497, 71.6575)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8156DF #B4DF56
analogous
#566FDF #8156DF #C556DF
triadic
#8156DF #DF8156 #56DF81
tetradic
#8156DF #DF566F #B4DF56 #56DFC5
square
#8156DF #DF566F #B4DF56 #56DFC5
split-complementary
#8156DF #DFC556 #6FDF56
monochromatic
#461E9D #5C27D0 #8156DF #A789E9 #CEBDF2

Accessibility & contrast

On white

4.85
#8156DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8156DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8156DF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8156DF#FFFFFF#000000##FFFFFF
##8156DF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#677593
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8156df;
/* rgb */ color: rgb(129, 86, 223);
/* oklch */ color: oklch(57.1% 0.199 293.6);
Tailwind
colors: {
  custom: {
    50: '#ac88ea',
    500: '#8156df',
    950: '#000000',
  },
}
SCSS
$custom: #8156df;
$custom-light: #ac88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8156df",
  "rgb": {
    "r": 129,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 258.832,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57074,
    "c": 0.199,
    "h": 293.6
  },
  "luminance": 0.1665
}

Semantic roles & 50–950 ramp

primary
#8156DF
secondary
#D2E2AE
accent
#D01595
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8156DF

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

Preview Lab → · Contrast checker → · Palette generator →

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