#8166BF#8166BF

#8166BF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.6% C 0.135 H 295.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8166BF
RGBrgb(129, 102, 191)
HSLhsl(258, 41%, 57%)
HSVhsv(258, 47%, 75%)
CMYKcmyk(32.5%, 46.6%, 0%, 25.1%)
CIE-LABlab(49.41, 30.56, -43.07)
CIE-LCHlch(49.41, 52.81, 305.36°)
OKLaboklab(57.63% 0.0588 -0.1212)
OKLCHoklch(57.63% 0.135 295.9)
XYZxyz(23.2063, 17.9311, 51.5185)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8166BF #A4BF66
analogous
#6678BF #8166BF #AD66BF
triadic
#8166BF #BF8166 #66BF81
tetradic
#8166BF #BF6678 #A4BF66 #66BFAD
square
#8166BF #BF6678 #A4BF66 #66BFAD
split-complementary
#8166BF #BFAD66 #78BF66
monochromatic
#483278 #6144A3 #8166BF #A591D1 #C8BCE3

Accessibility & contrast

On white

4.58
#8166BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8166BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8166BF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8166BF#FFFFFF#000000##000000
##8166BF1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4976C2
Deuteranopia (green-blind)
#4E74BD
Tritanopia (blue-blind)
#737789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8166bf;
/* rgb */ color: rgb(129, 102, 191);
/* oklch */ color: oklch(57.6% 0.135 295.9);
Tailwind
colors: {
  custom: {
    50: '#a892d3',
    500: '#8166bf',
    950: '#000000',
  },
}
SCSS
$custom: #8166bf;
$custom-light: #a892d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8166bf",
  "rgb": {
    "r": 129,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 258.202,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57628,
    "c": 0.13467,
    "h": 295.9
  },
  "luminance": 0.17931
}

Semantic roles & 50–950 ramp

primary
#8166BF
secondary
#C7D2AE
accent
#D157AC
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #8166BF

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

Preview Lab → · Contrast checker → · Palette generator →

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