#8167EB#8167EB

#8167EB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.6% C 0.191 H 288.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8167EB
RGBrgb(129, 103, 235)
HSLhsl(252, 77%, 66%)
HSVhsv(252, 56%, 92%)
CMYKcmyk(45.1%, 56.2%, 0%, 7.8%)
CIE-LABlab(52.25, 42.03, -63.54)
CIE-LCHlch(52.25, 76.19, 303.48°)
OKLaboklab(60.58% 0.0603 -0.1812)
OKLCHoklch(60.58% 0.191 288.4)
XYZxyz(28.8946, 20.3647, 80.9895)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167EB #D1EB67
analogous
#678FEB #8167EB #C367EB
triadic
#8167EB #EB8167 #67EB81
tetradic
#8167EB #EB678F #D1EB67 #67EBC3
square
#8167EB #EB678F #D1EB67 #67EBC3
split-complementary
#8167EB #EBC367 #8FEB67
monochromatic
#3A19BF #5431E4 #8167EB #AE9DF2 #DBD3F9

Accessibility & contrast

On white

4.14
#8167EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8167EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167EB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167EB#FFFFFF#000000##000000
##8167EB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1280EF
Deuteranopia (green-blind)
#1679E8
Tritanopia (blue-blind)
#60849F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8167eb;
/* rgb */ color: rgb(129, 103, 235);
/* oklch */ color: oklch(60.6% 0.191 288.4);
Tailwind
colors: {
  custom: {
    50: '#ac93f2',
    500: '#8167eb',
    950: '#000000',
  },
}
SCSS
$custom: #8167eb;
$custom-light: #ac93f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8167eb",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 235
  },
  "hsl": {
    "h": 251.818,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60577,
    "c": 0.191,
    "h": 288.4
  },
  "luminance": 0.20366
}

Semantic roles & 50–950 ramp

primary
#8167EB
secondary
#E4ECC1
accent
#D90DB1
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8167EB

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

Preview Lab → · Contrast checker → · Palette generator →

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