#8159E8#8159E8

#8159E8 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.2% C 0.206 H 291.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8159E8
RGBrgb(129, 89, 232)
HSLhsl(257, 76%, 63%)
HSVhsv(257, 62%, 91%)
CMYKcmyk(44.4%, 61.6%, 0%, 9%)
CIE-LABlab(49.05, 49.04, -67.02)
CIE-LCHlch(49.05, 83.05, 306.19°)
OKLaboklab(58.17% 0.0757 -0.1915)
OKLCHoklch(58.17% 0.206 291.6)
XYZxyz(27.1871, 17.6372, 78.3001)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159E8 #C0E859
analogous
#5979E8 #8159E8 #C859E8
triadic
#8159E8 #E88159 #59E881
tetradic
#8159E8 #E85979 #C0E859 #59E8C8
square
#8159E8 #E85979 #C0E859 #59E8C8
split-complementary
#8159E8 #E8C859 #79E859
monochromatic
#4218AE #5823E1 #8159E8 #AA8FEF #D3C5F7

Accessibility & contrast

On white

4.64
#8159E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8159E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8159E8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159E8#FFFFFF#000000##FFFFFF
##8159E81.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#637A98
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8159e8;
/* rgb */ color: rgb(129, 89, 232);
/* oklch */ color: oklch(58.2% 0.206 291.6);
Tailwind
colors: {
  custom: {
    50: '#ad8af0',
    500: '#8159e8',
    950: '#000000',
  },
}
SCSS
$custom: #8159e8;
$custom-light: #ad8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#8159e8",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 232
  },
  "hsl": {
    "h": 256.783,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58172,
    "c": 0.2059,
    "h": 291.6
  },
  "luminance": 0.17638
}

Semantic roles & 50–950 ramp

primary
#8159E8
secondary
#DAE8B5
accent
#D80E9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8159E8

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

Preview Lab → · Contrast checker → · Palette generator →

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