#8167E4#8167E4

#8167E4 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.1% C 0.182 H 289.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8167E4
RGBrgb(129, 103, 228)
HSLhsl(252, 70%, 65%)
HSVhsv(252, 55%, 89%)
CMYKcmyk(43.4%, 54.8%, 0%, 10.6%)
CIE-LABlab(51.80, 40.06, -60.33)
CIE-LCHlch(51.80, 72.42, 303.59°)
OKLaboklab(60.11% 0.0603 -0.1718)
OKLCHoklch(60.11% 0.182 289.3)
XYZxyz(27.9032, 19.9681, 75.7678)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167E4 #CAE467
analogous
#678CE4 #8167E4 #BF67E4
triadic
#8167E4 #E48167 #67E481
tetradic
#8167E4 #E4678C #CAE467 #67E4BF
square
#8167E4 #E4678C #CAE467 #67E4BF
split-complementary
#8167E4 #E4BF67 #8CE467
monochromatic
#3E1FB1 #5633DB #8167E4 #AC9BED #D7CFF6

Accessibility & contrast

On white

4.21
#8167E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8167E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167E4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167E4#FFFFFF#000000##000000
##8167E41.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#247EE8
Deuteranopia (green-blind)
#2778E1
Tritanopia (blue-blind)
#64829C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8167e4;
/* rgb */ color: rgb(129, 103, 228);
/* oklch */ color: oklch(60.1% 0.182 289.3);
Tailwind
colors: {
  custom: {
    50: '#ab93ed',
    500: '#8167e4',
    950: '#000000',
  },
}
SCSS
$custom: #8167e4;
$custom-light: #ab93ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8167e4",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 228
  },
  "hsl": {
    "h": 252.48,
    "s": 69.832,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60105,
    "c": 0.18204,
    "h": 289.3
  },
  "luminance": 0.19969
}

Semantic roles & 50–950 ramp

primary
#8167E4
secondary
#E0E9BE
accent
#D214AA
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8167E4

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

Preview Lab → · Contrast checker → · Palette generator →

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