#8166BE#8166BE

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

Color values

HEX#8166BE
RGBrgb(129, 102, 190)
HSLhsl(258, 40%, 57%)
HSVhsv(258, 46%, 75%)
CMYKcmyk(32.1%, 46.3%, 0%, 25.5%)
CIE-LABlab(49.36, 30.29, -42.57)
CIE-LCHlch(49.36, 52.25, 305.43°)
OKLaboklab(57.57% 0.0586 -0.1197)
OKLCHoklch(57.57% 0.133 296.1)
XYZxyz(23.0966, 17.8873, 50.9410)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8166BE #A3BE66
analogous
#6677BE #8166BE #AD66BE
triadic
#8166BE #BE8166 #66BE81
tetradic
#8166BE #BE6677 #A3BE66 #66BEAD
square
#8166BE #BE6677 #A3BE66 #66BEAD
split-complementary
#8166BE #BEAD66 #77BE66
monochromatic
#483377 #6145A2 #8166BE #A491D0 #C8BCE2

Accessibility & contrast

On white

4.59
#8166BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8166BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8166BE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8166BE#FFFFFF#000000##FFFFFF
##8166BE1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A76C1
Deuteranopia (green-blind)
#4F74BC
Tritanopia (blue-blind)
#747689
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8166be;
/* rgb */ color: rgb(129, 102, 190);
/* oklch */ color: oklch(57.6% 0.133 296.1);
Tailwind
colors: {
  custom: {
    50: '#a892d2',
    500: '#8166be',
    950: '#000000',
  },
}
SCSS
$custom: #8166be;
$custom-light: #a892d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8166be",
  "rgb": {
    "r": 129,
    "g": 102,
    "b": 190
  },
  "hsl": {
    "h": 258.409,
    "s": 40.367,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57571,
    "c": 0.13331,
    "h": 296.1
  },
  "luminance": 0.17888
}

Semantic roles & 50–950 ramp

primary
#8166BE
secondary
#C7D2AE
accent
#D058AB
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8166BE

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

Preview Lab → · Contrast checker → · Palette generator →

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