#8159E5#8159E5

#8159E5 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.0% C 0.202 H 292.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8159E5
RGBrgb(129, 89, 229)
HSLhsl(257, 73%, 62%)
HSVhsv(257, 61%, 90%)
CMYKcmyk(43.7%, 61.1%, 0%, 10.2%)
CIE-LABlab(48.84, 48.22, -65.67)
CIE-LCHlch(48.84, 81.47, 306.29°)
OKLaboklab(57.95% 0.0759 -0.1875)
OKLCHoklch(57.95% 0.202 292)
XYZxyz(26.7646, 17.4682, 76.0751)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159E5 #BDE559
analogous
#5977E5 #8159E5 #C759E5
triadic
#8159E5 #E58159 #59E581
tetradic
#8159E5 #E55977 #BDE559 #59E5C7
square
#8159E5 #E55977 #BDE559 #59E5C7
split-complementary
#8159E5 #E5C759 #77E559
monochromatic
#431AA9 #5924DD #8159E5 #A98EED #D1C3F6

Accessibility & contrast

On white

4.67
#8159E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8159E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8159E5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159E5#FFFFFF#000000##FFFFFF
##8159E51.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#647997
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8159e5;
/* rgb */ color: rgb(129, 89, 229);
/* oklch */ color: oklch(58.0% 0.202 292.0);
Tailwind
colors: {
  custom: {
    50: '#ac8aee',
    500: '#8159e5',
    950: '#000000',
  },
}
SCSS
$custom: #8159e5;
$custom-light: #ac8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#8159e5",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 257.143,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57954,
    "c": 0.20227,
    "h": 292
  },
  "luminance": 0.17469
}

Semantic roles & 50–950 ramp

primary
#8159E5
secondary
#D8E6B3
accent
#D5109D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8159E5

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

Preview Lab → · Contrast checker → · Palette generator →

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