#8167E7#8167E7

#8167E7 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.3% C 0.186 H 288.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8167E7
RGBrgb(129, 103, 231)
HSLhsl(252, 73%, 65%)
HSVhsv(252, 55%, 91%)
CMYKcmyk(44.2%, 55.4%, 0%, 9.4%)
CIE-LABlab(51.99, 40.90, -61.71)
CIE-LCHlch(51.99, 74.04, 303.54°)
OKLaboklab(60.31% 0.0603 -0.1758)
OKLCHoklch(60.31% 0.186 288.9)
XYZxyz(28.3232, 20.1361, 77.9801)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167E7 #CDE767
analogous
#678DE7 #8167E7 #C167E7
triadic
#8167E7 #E78167 #67E781
tetradic
#8167E7 #E7678D #CDE767 #67E7C1
square
#8167E7 #E7678D #CDE767 #67E7C1
split-complementary
#8167E7 #E7C167 #8DE767
monochromatic
#3C1DB7 #5532DF #8167E7 #AD9CEF #D9D1F8

Accessibility & contrast

On white

4.18
#8167E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8167E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167E7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167E7#FFFFFF#000000##000000
##8167E71.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7FEB
Deuteranopia (green-blind)
#2179E4
Tritanopia (blue-blind)
#62839D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8167e7;
/* rgb */ color: rgb(129, 103, 231);
/* oklch */ color: oklch(60.3% 0.186 288.9);
Tailwind
colors: {
  custom: {
    50: '#ac93ef',
    500: '#8167e7',
    950: '#000000',
  },
}
SCSS
$custom: #8167e7;
$custom-light: #ac93ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8167e7",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 231
  },
  "hsl": {
    "h": 252.188,
    "s": 72.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60306,
    "c": 0.1859,
    "h": 288.9
  },
  "luminance": 0.20137
}

Semantic roles & 50–950 ramp

primary
#8167E7
secondary
#E2EABF
accent
#D511AD
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8167E7

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

Preview Lab → · Contrast checker → · Palette generator →

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