#8167B2#8167B2

#8167B2 is a mid, moderate violet. Relative luminance 0.176; OKLCH L 57.1% C 0.115 H 298.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8167B2
RGBrgb(129, 103, 178)
HSLhsl(261, 33%, 55%)
HSVhsv(261, 42%, 70%)
CMYKcmyk(27.5%, 42.1%, 0%, 30.2%)
CIE-LABlab(48.98, 26.60, -36.21)
CIE-LCHlch(48.98, 44.93, 306.30°)
OKLaboklab(57.09% 0.0553 -0.1012)
OKLCHoklch(57.09% 0.115 298.7)
XYZxyz(21.9375, 17.5818, 44.3487)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167B2 #98B267
analogous
#6772B2 #8167B2 #A667B2
triadic
#8167B2 #B28167 #67B281
tetradic
#8167B2 #B26772 #98B267 #67B2A6
square
#8167B2 #B26772 #98B267 #67B2A6
split-complementary
#8167B2 #B2A667 #72B267
monochromatic
#473569 #634A92 #8167B2 #A390C7 #C4B8DB

Accessibility & contrast

On white

4.65
#8167B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8167B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8167B2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167B2#FFFFFF#000000##FFFFFF
##8167B21.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#5774B0
Tritanopia (blue-blind)
#777484
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8167b2;
/* rgb */ color: rgb(129, 103, 178);
/* oklch */ color: oklch(57.1% 0.115 298.7);
Tailwind
colors: {
  custom: {
    50: '#a792c9',
    500: '#8167b2',
    950: '#000000',
  },
}
SCSS
$custom: #8167b2;
$custom-light: #a792c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8167b2",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 178
  },
  "hsl": {
    "h": 260.8,
    "s": 32.751,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57088,
    "c": 0.11534,
    "h": 298.7
  },
  "luminance": 0.17582
}

Semantic roles & 50–950 ramp

primary
#8167B2
secondary
#BFCAAB
accent
#C95FA4
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8167B2

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

Preview Lab → · Contrast checker → · Palette generator →

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