#8159E4#8159E4

#8159E4 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.9% C 0.201 H 292.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8159E4
RGBrgb(129, 89, 228)
HSLhsl(257, 72%, 62%)
HSVhsv(257, 61%, 89%)
CMYKcmyk(43.4%, 61%, 0%, 10.6%)
CIE-LABlab(48.78, 47.95, -65.22)
CIE-LCHlch(48.78, 80.95, 306.33°)
OKLaboklab(57.88% 0.076 -0.1862)
OKLCHoklch(57.88% 0.201 292.2)
XYZxyz(26.6254, 17.4125, 75.3418)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159E4 #BCE459
analogous
#5977E4 #8159E4 #C659E4
triadic
#8159E4 #E48159 #59E481
tetradic
#8159E4 #E45977 #BCE459 #59E4C6
square
#8159E4 #E45977 #BCE459 #59E4C6
split-complementary
#8159E4 #E4C659 #77E459
monochromatic
#441BA7 #5924DB #8159E4 #A98EED #D1C2F5

Accessibility & contrast

On white

4.68
#8159E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8159E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8159E4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159E4#FFFFFF#000000##FFFFFF
##8159E41.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#0071E1
Tritanopia (blue-blind)
#657996
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8159e4;
/* rgb */ color: rgb(129, 89, 228);
/* oklch */ color: oklch(57.9% 0.201 292.2);
Tailwind
colors: {
  custom: {
    50: '#ac8aed',
    500: '#8159e4',
    950: '#000000',
  },
}
SCSS
$custom: #8159e4;
$custom-light: #ac8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#8159e4",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 257.266,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57882,
    "c": 0.20106,
    "h": 292.2
  },
  "luminance": 0.17413
}

Semantic roles & 50–950 ramp

primary
#8159E4
secondary
#D7E6B3
accent
#D4119C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8159E4

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

Preview Lab → · Contrast checker → · Palette generator →

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