#8166AE#8166AE

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

Color values

HEX#8166AE
RGBrgb(129, 102, 174)
HSLhsl(263, 31%, 54%)
HSVhsv(263, 41%, 68%)
CMYKcmyk(25.9%, 41.4%, 0%, 31.8%)
CIE-LABlab(48.54, 26.18, -34.57)
CIE-LCHlch(48.54, 43.37, 307.13°)
OKLaboklab(56.69% 0.056 -0.0964)
OKLCHoklch(56.69% 0.112 300.2)
XYZxyz(21.4429, 17.2258, 42.2314)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8166AE #93AE66
analogous
#666FAE #8166AE #A566AE
triadic
#8166AE #AE8166 #66AE81
tetradic
#8166AE #AE666F #93AE66 #66AEA5
square
#8166AE #AE666F #93AE66 #66AEA5
split-complementary
#8166AE #AEA566 #6FAE66
monochromatic
#473564 #634A8C #8166AE #A28EC3 #C3B6D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8166AE#FFFFFF#000000##FFFFFF
##8166AE1.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)
#5373B1
Deuteranopia (green-blind)
#5873AC
Tritanopia (blue-blind)
#797282
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8166ae;
/* rgb */ color: rgb(129, 102, 174);
/* oklch */ color: oklch(56.7% 0.112 300.2);
Tailwind
colors: {
  custom: {
    50: '#a792c6',
    500: '#8166ae',
    950: '#000000',
  },
}
SCSS
$custom: #8166ae;
$custom-light: #a792c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8166ae",
  "rgb": {
    "r": 129,
    "g": 102,
    "b": 174
  },
  "hsl": {
    "h": 262.5,
    "s": 30.769,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5669,
    "c": 0.11154,
    "h": 300.2
  },
  "luminance": 0.17226
}

Semantic roles & 50–950 ramp

primary
#8166AE
secondary
#BCC7A9
accent
#C761A1
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8166AE

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

Preview Lab → · Contrast checker → · Palette generator →

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