#8159E6#8159E6

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

Color values

HEX#8159E6
RGBrgb(129, 89, 230)
HSLhsl(257, 74%, 63%)
HSVhsv(257, 61%, 90%)
CMYKcmyk(43.9%, 61.3%, 0%, 9.8%)
CIE-LABlab(48.91, 48.50, -66.12)
CIE-LCHlch(48.91, 82.00, 306.26°)
OKLaboklab(58.03% 0.0758 -0.1888)
OKLCHoklch(58.03% 0.203 291.9)
XYZxyz(26.9046, 17.5242, 76.8125)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159E6 #BEE659
analogous
#5978E6 #8159E6 #C759E6
triadic
#8159E6 #E68159 #59E681
tetradic
#8159E6 #E65978 #BEE659 #59E6C7
square
#8159E6 #E65978 #BEE659 #59E6C7
split-complementary
#8159E6 #E6C759 #78E659
monochromatic
#431AAB #5924DE #8159E6 #A98EEE #D2C3F6

Accessibility & contrast

On white

4.66
#8159E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8159E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8159E6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159E6#FFFFFF#000000##FFFFFF
##8159E61.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8159e6;
/* rgb */ color: rgb(129, 89, 230);
/* oklch */ color: oklch(58.0% 0.203 291.9);
Tailwind
colors: {
  custom: {
    50: '#ac8aef',
    500: '#8159e6',
    950: '#000000',
  },
}
SCSS
$custom: #8159e6;
$custom-light: #ac8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#8159e6",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 230
  },
  "hsl": {
    "h": 257.021,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58027,
    "c": 0.20348,
    "h": 291.9
  },
  "luminance": 0.17525
}

Semantic roles & 50–950 ramp

primary
#8159E6
secondary
#D8E7B4
accent
#D6109E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8159E6

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

Preview Lab → · Contrast checker → · Palette generator →

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