#8167BA#8167BA

#8167BA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.5% C 0.126 H 296.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#8167BA
RGBrgb(129, 103, 186)
HSLhsl(259, 38%, 57%)
HSVhsv(259, 45%, 73%)
CMYKcmyk(30.6%, 44.6%, 0%, 27.1%)
CIE-LABlab(49.39, 28.66, -40.21)
CIE-LCHlch(49.39, 49.38, 305.47°)
OKLaboklab(57.53% 0.0567 -0.1128)
OKLCHoklch(57.53% 0.126 296.7)
XYZxyz(22.7643, 17.9125, 48.7030)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167BA #A0BA67
analogous
#6777BA #8167BA #AB67BA
triadic
#8167BA #BA8167 #67BA81
tetradic
#8167BA #BA6777 #A0BA67 #67BAAB
square
#8167BA #BA6777 #A0BA67 #67BAAB
split-complementary
#8167BA #BAAB67 #77BA67
monochromatic
#483473 #62479D #8167BA #A491CD #C7BBE0

Accessibility & contrast

On white

4.58
#8167BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8167BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8167BA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167BA#FFFFFF#000000##000000
##8167BA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E76BD
Deuteranopia (green-blind)
#5274B8
Tritanopia (blue-blind)
#757687
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8167ba;
/* rgb */ color: rgb(129, 103, 186);
/* oklch */ color: oklch(57.5% 0.126 296.7);
Tailwind
colors: {
  custom: {
    50: '#a893cf',
    500: '#8167ba',
    950: '#000000',
  },
}
SCSS
$custom: #8167ba;
$custom-light: #a893cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8167ba",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 186
  },
  "hsl": {
    "h": 258.795,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57526,
    "c": 0.12628,
    "h": 296.7
  },
  "luminance": 0.17913
}

Semantic roles & 50–950 ramp

primary
#8167BA
secondary
#C5CFAD
accent
#CE5AA9
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8167BA

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

Preview Lab → · Contrast checker → · Palette generator →

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