#8167A2#8167A2

#8167A2 is a mid, moderate violet. Relative luminance 0.170; OKLCH L 56.3% C 0.093 H 303.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8167A2
RGBrgb(129, 103, 162)
HSLhsl(266, 24%, 52%)
HSVhsv(266, 36%, 64%)
CMYKcmyk(20.4%, 36.4%, 0%, 36.5%)
CIE-LABlab(48.23, 22.63, -28.03)
CIE-LCHlch(48.23, 36.03, 308.91°)
OKLaboklab(56.27% 0.052 -0.0776)
OKLCHoklch(56.27% 0.093 303.8)
XYZxyz(20.4238, 16.9763, 36.3762)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8167A2 #88A267
analogous
#676AA2 #8167A2 #9F67A2
triadic
#8167A2 #A28167 #67A281
tetradic
#8167A2 #A2676A #88A267 #67A29F
square
#8167A2 #A2676A #88A267 #67A29F
split-complementary
#8167A2 #A29F67 #6AA267
monochromatic
#453658 #634D7E #8167A2 #A08DB9 #C0B3D0

Accessibility & contrast

On white

4.78
#8167A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8167A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8167A2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8167A2#FFFFFF#000000##FFFFFF
##8167A21.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A4
Deuteranopia (green-blind)
#5F72A0
Tritanopia (blue-blind)
#7C707D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8167a2;
/* rgb */ color: rgb(129, 103, 162);
/* oklch */ color: oklch(56.3% 0.093 303.8);
Tailwind
colors: {
  custom: {
    50: '#a692bd',
    500: '#8167a2',
    950: '#000000',
  },
}
SCSS
$custom: #8167a2;
$custom-light: #a692bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8167a2",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 162
  },
  "hsl": {
    "h": 266.441,
    "s": 24.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56268,
    "c": 0.09338,
    "h": 303.8
  },
  "luminance": 0.16976
}

Semantic roles & 50–950 ramp

primary
#8167A2
secondary
#B4BFA5
accent
#C16799
background
#FAF9FB
surface
#F4F1F6
border
#CECBD0
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #8167A2

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

Preview Lab → · Contrast checker → · Palette generator →

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