#8166AF#8166AF

#8166AF is a mid, moderate violet. Relative luminance 0.173; OKLCH L 56.7% C 0.113 H 299.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8166AF
RGBrgb(129, 102, 175)
HSLhsl(262, 31%, 54%)
HSVhsv(262, 42%, 69%)
CMYKcmyk(26.3%, 41.7%, 0%, 31.4%)
CIE-LABlab(48.59, 26.43, -35.08)
CIE-LCHlch(48.59, 43.92, 306.99°)
OKLaboklab(56.74% 0.0562 -0.0979)
OKLCHoklch(56.74% 0.113 299.9)
XYZxyz(21.5407, 17.2649, 42.7467)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8166AF #94AF66
analogous
#6670AF #8166AF #A666AF
triadic
#8166AF #AF8166 #66AF81
tetradic
#8166AF #AF6670 #94AF66 #66AFA6
square
#8166AF #AF6670 #94AF66 #66AFA6
split-complementary
#8166AF #AFA666 #70AF66
monochromatic
#473566 #634A8E #8166AF #A28EC4 #C3B6D9

Accessibility & contrast

On white

4.72
#8166AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8166AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8166AF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8166AF#FFFFFF#000000##FFFFFF
##8166AF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5373B2
Deuteranopia (green-blind)
#5873AD
Tritanopia (blue-blind)
#787282
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8166af;
/* rgb */ color: rgb(129, 102, 175);
/* oklch */ color: oklch(56.7% 0.113 299.9);
Tailwind
colors: {
  custom: {
    50: '#a792c7',
    500: '#8166af',
    950: '#000000',
  },
}
SCSS
$custom: #8166af;
$custom-light: #a792c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8166af",
  "rgb": {
    "r": 129,
    "g": 102,
    "b": 175
  },
  "hsl": {
    "h": 262.192,
    "s": 31.33,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.11291,
    "h": 299.9
  },
  "luminance": 0.17265
}

Semantic roles & 50–950 ramp

primary
#8166AF
secondary
#BCC8A9
accent
#C860A1
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8166AF

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

Preview Lab → · Contrast checker → · Palette generator →

#8166AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva