#8167E8#8167E8

#8167E8 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.4% C 0.187 H 288.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8167E8
RGBrgb(129, 103, 232)
HSLhsl(252, 74%, 66%)
HSVhsv(252, 56%, 91%)
CMYKcmyk(44.4%, 55.6%, 0%, 9%)
CIE-LABlab(52.05, 41.19, -62.17)
CIE-LCHlch(52.05, 74.58, 303.52°)
OKLaboklab(60.37% 0.0603 -0.1772)
OKLCHoklch(60.37% 0.187 288.8)
XYZxyz(28.4649, 20.1928, 78.7261)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167E8 #CEE867
analogous
#678DE8 #8167E8 #C167E8
triadic
#8167E8 #E88167 #67E881
tetradic
#8167E8 #E8678D #CEE867 #67E8C1
square
#8167E8 #E8678D #CEE867 #67E8C1
split-complementary
#8167E8 #E8C167 #8DE867
monochromatic
#3C1CB9 #5532E0 #8167E8 #AD9CF0 #D9D1F8

Accessibility & contrast

On white

4.17
#8167E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8167E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167E8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167E8#FFFFFF#000000##000000
##8167E81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7FEC
Deuteranopia (green-blind)
#1F79E5
Tritanopia (blue-blind)
#62839E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8167e8;
/* rgb */ color: rgb(129, 103, 232);
/* oklch */ color: oklch(60.4% 0.187 288.8);
Tailwind
colors: {
  custom: {
    50: '#ac93f0',
    500: '#8167e8',
    950: '#000000',
  },
}
SCSS
$custom: #8167e8;
$custom-light: #ac93f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8167e8",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 232
  },
  "hsl": {
    "h": 252.093,
    "s": 73.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60373,
    "c": 0.18718,
    "h": 288.8
  },
  "luminance": 0.20194
}

Semantic roles & 50–950 ramp

primary
#8167E8
secondary
#E2EBC0
accent
#D610AE
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8167E8

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

Preview Lab → · Contrast checker → · Palette generator →

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