#8160EB#8160EB

#8160EB is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.5% C 0.200 H 289.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8160EB
RGBrgb(129, 96, 235)
HSLhsl(254, 78%, 65%)
HSVhsv(254, 59%, 92%)
CMYKcmyk(45.1%, 59.1%, 0%, 7.8%)
CIE-LABlab(50.72, 45.99, -66.01)
CIE-LCHlch(50.72, 80.45, 304.87°)
OKLaboklab(59.46% 0.068 -0.1885)
OKLCHoklch(59.46% 0.2 289.8)
XYZxyz(28.2273, 19.0300, 80.7670)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8160EB #CAEB60
analogous
#6084EB #8160EB #C760EB
triadic
#8160EB #EB8160 #60EB81
tetradic
#8160EB #EB6084 #CAEB60 #60EBC7
square
#8160EB #EB6084 #CAEB60 #60EBC7
split-complementary
#8160EB #EBC760 #84EB60
monochromatic
#3E17B9 #562AE4 #8160EB #AC96F2 #D7CDF9

Accessibility & contrast

On white

4.37
#8160EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8160EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8160EB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8160EB#FFFFFF#000000##000000
##8160EB1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#60809C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8160eb;
/* rgb */ color: rgb(129, 96, 235);
/* oklch */ color: oklch(59.5% 0.200 289.8);
Tailwind
colors: {
  custom: {
    50: '#ac8ef2',
    500: '#8160eb',
    950: '#000000',
  },
}
SCSS
$custom: #8160eb;
$custom-light: #ac8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8160eb",
  "rgb": {
    "r": 129,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 254.245,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59456,
    "c": 0.20039,
    "h": 289.8
  },
  "luminance": 0.19031
}

Semantic roles & 50–950 ramp

primary
#8160EB
secondary
#E0EBBC
accent
#DA0CA9
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8160EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8160EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva