#8163EB#8163EB

#8163EB is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.9% C 0.196 H 289.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8163EB
RGBrgb(129, 99, 235)
HSLhsl(253, 77%, 65%)
HSVhsv(253, 58%, 92%)
CMYKcmyk(45.1%, 57.9%, 0%, 7.8%)
CIE-LABlab(51.37, 44.31, -64.96)
CIE-LCHlch(51.37, 78.63, 304.29°)
OKLaboklab(59.93% 0.0648 -0.1854)
OKLCHoklch(59.93% 0.196 289.3)
XYZxyz(28.5062, 19.5879, 80.8600)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8163EB #CDEB63
analogous
#6389EB #8163EB #C563EB
triadic
#8163EB #EB8163 #63EB81
tetradic
#8163EB #EB6389 #CDEB63 #63EBC5
square
#8163EB #EB6389 #CDEB63 #63EBC5
split-complementary
#8163EB #EBC563 #89EB63
monochromatic
#3C18BC #552DE4 #8163EB #AD99F2 #D9CFF9

Accessibility & contrast

On white

4.27
#8163EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8163EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8163EB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8163EB#FFFFFF#000000##000000
##8163EB1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#60829E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8163eb;
/* rgb */ color: rgb(129, 99, 235);
/* oklch */ color: oklch(59.9% 0.196 289.3);
Tailwind
colors: {
  custom: {
    50: '#ac90f2',
    500: '#8163eb',
    950: '#000000',
  },
}
SCSS
$custom: #8163eb;
$custom-light: #ac90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8163eb",
  "rgb": {
    "r": 129,
    "g": 99,
    "b": 235
  },
  "hsl": {
    "h": 253.235,
    "s": 77.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59929,
    "c": 0.1964,
    "h": 289.3
  },
  "luminance": 0.19589
}

Semantic roles & 50–950 ramp

primary
#8163EB
secondary
#E2ECBE
accent
#DA0CAC
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #8163EB

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

Preview Lab → · Contrast checker → · Palette generator →

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