#8166B8#8166B8

#8166B8 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.2% C 0.125 H 297.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8166B8
RGBrgb(129, 102, 184)
HSLhsl(260, 37%, 56%)
HSVhsv(260, 45%, 72%)
CMYKcmyk(29.9%, 44.6%, 0%, 27.8%)
CIE-LABlab(49.04, 28.73, -39.60)
CIE-LCHlch(49.04, 48.92, 305.96°)
OKLaboklab(57.23% 0.0578 -0.111)
OKLCHoklch(57.23% 0.125 297.5)
XYZxyz(22.4543, 17.6303, 47.5581)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8166B8 #9DB866
analogous
#6674B8 #8166B8 #AA66B8
triadic
#8166B8 #B88166 #66B881
tetradic
#8166B8 #B86674 #9DB866 #66B8AA
square
#8166B8 #B86674 #9DB866 #66B8AA
split-complementary
#8166B8 #B8AA66 #74B866
monochromatic
#483470 #62479A #8166B8 #A390CB #C6BADF

Accessibility & contrast

On white

4.64
#8166B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8166B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8166B8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8166B8#FFFFFF#000000##FFFFFF
##8166B81.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D75BB
Deuteranopia (green-blind)
#5374B6
Tritanopia (blue-blind)
#767586
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8166b8;
/* rgb */ color: rgb(129, 102, 184);
/* oklch */ color: oklch(57.2% 0.125 297.5);
Tailwind
colors: {
  custom: {
    50: '#a892ce',
    500: '#8166b8',
    950: '#000000',
  },
}
SCSS
$custom: #8166b8;
$custom-light: #a892ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8166b8",
  "rgb": {
    "r": 129,
    "g": 102,
    "b": 184
  },
  "hsl": {
    "h": 259.756,
    "s": 36.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57232,
    "c": 0.12518,
    "h": 297.5
  },
  "luminance": 0.17631
}

Semantic roles & 50–950 ramp

primary
#8166B8
secondary
#C3CEAC
accent
#CD5BA7
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8166B8

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

Preview Lab → · Contrast checker → · Palette generator →

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