#8167E2#8167E2

#8167E2 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.0% C 0.179 H 289.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8167E2
RGBrgb(129, 103, 226)
HSLhsl(253, 68%, 65%)
HSVhsv(253, 54%, 89%)
CMYKcmyk(42.9%, 54.4%, 0%, 11.4%)
CIE-LABlab(51.68, 39.50, -59.41)
CIE-LCHlch(51.68, 71.34, 303.62°)
OKLaboklab(59.97% 0.0602 -0.1691)
OKLCHoklch(59.97% 0.179 289.6)
XYZxyz(27.6271, 19.8577, 74.3140)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167E2 #C8E267
analogous
#678BE2 #8167E2 #BF67E2
triadic
#8167E2 #E28167 #67E281
tetradic
#8167E2 #E2678B #C8E267 #67E2BF
square
#8167E2 #E2678B #C8E267 #67E2BF
split-complementary
#8167E2 #E2BF67 #8BE267
monochromatic
#3F21AD #5634D8 #8167E2 #AC9AEC #D6CEF6

Accessibility & contrast

On white

4.22
#8167E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8167E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167E2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167E2#FFFFFF#000000##000000
##8167E21.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#277EE6
Deuteranopia (green-blind)
#2B78DF
Tritanopia (blue-blind)
#65819B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8167e2;
/* rgb */ color: rgb(129, 103, 226);
/* oklch */ color: oklch(60.0% 0.179 289.6);
Tailwind
colors: {
  custom: {
    50: '#ab93ec',
    500: '#8167e2',
    950: '#000000',
  },
}
SCSS
$custom: #8167e2;
$custom-light: #ab93ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8167e2",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 226
  },
  "hsl": {
    "h": 252.683,
    "s": 67.956,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59972,
    "c": 0.17946,
    "h": 289.6
  },
  "luminance": 0.19859
}

Semantic roles & 50–950 ramp

primary
#8167E2
secondary
#DFE8BD
accent
#D016A9
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8167E2

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

Preview Lab → · Contrast checker → · Palette generator →

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