#8159EB#8159EB

#8159EB is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.4% C 0.210 H 291.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8159EB
RGBrgb(129, 89, 235)
HSLhsl(256, 78%, 64%)
HSVhsv(256, 62%, 92%)
CMYKcmyk(45.1%, 62.1%, 0%, 7.8%)
CIE-LABlab(49.26, 49.86, -68.37)
CIE-LCHlch(49.26, 84.62, 306.10°)
OKLaboklab(58.39% 0.0755 -0.1954)
OKLCHoklch(58.39% 0.21 291.1)
XYZxyz(27.6168, 17.8091, 80.5635)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159EB #C3EB59
analogous
#597AEB #8159EB #CA59EB
triadic
#8159EB #EB8159 #59EB81
tetradic
#8159EB #EB597A #C3EB59 #59EBCA
square
#8159EB #EB597A #C3EB59 #59EBCA
split-complementary
#8159EB #EBCA59 #7AEB59
monochromatic
#4116B4 #5822E4 #8159EB #AA90F2 #D4C6F8

Accessibility & contrast

On white

4.60
#8159EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8159EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8159EB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159EB#FFFFFF#000000##FFFFFF
##8159EB1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#617B9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8159eb;
/* rgb */ color: rgb(129, 89, 235);
/* oklch */ color: oklch(58.4% 0.210 291.1);
Tailwind
colors: {
  custom: {
    50: '#ad8af2',
    500: '#8159eb',
    950: '#000000',
  },
}
SCSS
$custom: #8159eb;
$custom-light: #ad8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8159eb",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 256.438,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.20951,
    "h": 291.1
  },
  "luminance": 0.1781
}

Semantic roles & 50–950 ramp

primary
#8159EB
secondary
#DCEAB6
accent
#DB0BA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8159EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8159EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva