#8167E1#8167E1

#8167E1 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.9% C 0.178 H 289.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8167E1
RGBrgb(129, 103, 225)
HSLhsl(253, 67%, 64%)
HSVhsv(253, 54%, 88%)
CMYKcmyk(42.7%, 54.2%, 0%, 11.8%)
CIE-LABlab(51.61, 39.22, -58.94)
CIE-LCHlch(51.61, 70.80, 303.64°)
OKLaboklab(59.91% 0.0602 -0.1677)
OKLCHoklch(59.91% 0.178 289.7)
XYZxyz(27.4903, 19.8029, 73.5935)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167E1 #C7E167
analogous
#678AE1 #8167E1 #BE67E1
triadic
#8167E1 #E18167 #67E181
tetradic
#8167E1 #E1678A #C7E167 #67E1BE
square
#8167E1 #E1678A #C7E167 #67E1BE
split-complementary
#8167E1 #E1BE67 #8AE167
monochromatic
#3F22AC #5734D7 #8167E1 #AB9AEB #D6CDF5

Accessibility & contrast

On white

4.23
#8167E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8167E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167E1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167E1#FFFFFF#000000##000000
##8167E11.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#297DE5
Deuteranopia (green-blind)
#2D78DE
Tritanopia (blue-blind)
#65819A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8167e1;
/* rgb */ color: rgb(129, 103, 225);
/* oklch */ color: oklch(59.9% 0.178 289.7);
Tailwind
colors: {
  custom: {
    50: '#ab93eb',
    500: '#8167e1',
    950: '#000000',
  },
}
SCSS
$custom: #8167e1;
$custom-light: #ab93eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8167e1",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 225
  },
  "hsl": {
    "h": 252.787,
    "s": 67.033,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59906,
    "c": 0.17817,
    "h": 289.7
  },
  "luminance": 0.19804
}

Semantic roles & 50–950 ramp

primary
#8167E1
secondary
#DEE7BD
accent
#CF17A8
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8167E1

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

Preview Lab → · Contrast checker → · Palette generator →

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