#8159EF#8159EF

#8159EF is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.7% C 0.214 H 290.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8159EF
RGBrgb(129, 89, 239)
HSLhsl(256, 82%, 64%)
HSVhsv(256, 63%, 94%)
CMYKcmyk(46%, 62.8%, 0%, 6.3%)
CIE-LABlab(49.55, 50.95, -70.15)
CIE-LCHlch(49.55, 86.71, 305.99°)
OKLaboklab(58.69% 0.0752 -0.2007)
OKLCHoklch(58.69% 0.214 290.5)
XYZxyz(28.2012, 18.0428, 83.6413)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8159EF #C7EF59
analogous
#597CEF #8159EF #CC59EF
triadic
#8159EF #EF8159 #59EF81
tetradic
#8159EF #EF597C #C7EF59 #59EFCC
square
#8159EF #EF597C #C7EF59 #59EFCC
split-complementary
#8159EF #EFCC59 #7CEF59
monochromatic
#3F12BC #5721EA #8159EF #AB91F4 #D6C9FA

Accessibility & contrast

On white

4.56
#8159EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8159EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8159EF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8159EF#FFFFFF#000000##000000
##8159EF1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#5F7C9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8159ef;
/* rgb */ color: rgb(129, 89, 239);
/* oklch */ color: oklch(58.7% 0.214 290.5);
Tailwind
colors: {
  custom: {
    50: '#ad8af5',
    500: '#8159ef',
    950: '#000000',
  },
}
SCSS
$custom: #8159ef;
$custom-light: #ad8af5;
$custom-dark: #000000;
JSON
{
  "hex": "#8159ef",
  "rgb": {
    "r": 129,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 256,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58688,
    "c": 0.2143,
    "h": 290.5
  },
  "luminance": 0.18044
}

Semantic roles & 50–950 ramp

primary
#8159EF
secondary
#DEECB8
accent
#DF07A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8159EF

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

Preview Lab → · Contrast checker → · Palette generator →

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