#8160E8#8160E8

#8160E8 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.2% C 0.197 H 290.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8160E8
RGBrgb(129, 96, 232)
HSLhsl(255, 75%, 64%)
HSVhsv(255, 59%, 91%)
CMYKcmyk(44.4%, 58.6%, 0%, 9%)
CIE-LABlab(50.52, 45.16, -64.65)
CIE-LCHlch(50.52, 78.86, 304.94°)
OKLaboklab(59.24% 0.0681 -0.1845)
OKLCHoklch(59.24% 0.197 290.3)
XYZxyz(27.7975, 18.8581, 78.5036)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8160E8 #C7E860
analogous
#6083E8 #8160E8 #C560E8
triadic
#8160E8 #E88160 #60E881
tetradic
#8160E8 #E86083 #C7E860 #60E8C5
square
#8160E8 #E86083 #C7E860 #60E8C5
split-complementary
#8160E8 #E8C560 #83E860
monochromatic
#3F1AB4 #572BE0 #8160E8 #AB95F0 #D6CBF7

Accessibility & contrast

On white

4.40
#8160E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8160E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8160E8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8160E8#FFFFFF#000000##000000
##8160E81.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#627F9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8160e8;
/* rgb */ color: rgb(129, 96, 232);
/* oklch */ color: oklch(59.2% 0.197 290.3);
Tailwind
colors: {
  custom: {
    50: '#ac8ef0',
    500: '#8160e8',
    950: '#000000',
  },
}
SCSS
$custom: #8160e8;
$custom-light: #ac8ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#8160e8",
  "rgb": {
    "r": 129,
    "g": 96,
    "b": 232
  },
  "hsl": {
    "h": 254.559,
    "s": 74.725,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59244,
    "c": 0.19666,
    "h": 290.3
  },
  "luminance": 0.18859
}

Semantic roles & 50–950 ramp

primary
#8160E8
secondary
#DEE9BA
accent
#D70FA6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8160E8

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

Preview Lab → · Contrast checker → · Palette generator →

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