#8166FF#8166FF

#8166FF is a mid, highly saturated violet. Relative luminance 0.214; OKLCH L 61.8% C 0.217 H 286.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8166FF
RGBrgb(129, 102, 255)
HSLhsl(251, 100%, 70%)
HSVhsv(251, 60%, 100%)
CMYKcmyk(49.4%, 60%, 0%, 0%)
CIE-LABlab(53.37, 48.27, -72.86)
CIE-LCHlch(53.37, 87.40, 303.53°)
OKLaboklab(61.83% 0.0609 -0.2086)
OKLCHoklch(61.83% 0.217 286.3)
XYZxyz(31.8493, 21.3883, 97.0385)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8166FF #E4FF66
analogous
#6698FF #8166FF #CD66FF
triadic
#8166FF #FF8166 #66FF81
tetradic
#8166FF #FF6698 #E4FF66 #66FFCD
square
#8166FF #FF6698 #E4FF66 #66FFCD
split-complementary
#8166FF #FFCD66 #98FF66
monochromatic
#2900EB #4F29FF #8166FF #B3A3FF #E6E0FF

Accessibility & contrast

On white

3.98
#8166FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8166FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8166FF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8166FF#FFFFFF#000000##000000
##8166FF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#007BFC
Tritanopia (blue-blind)
#538AA9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8166ff;
/* rgb */ color: rgb(129, 102, 255);
/* oklch */ color: oklch(61.8% 0.217 286.3);
Tailwind
colors: {
  custom: {
    50: '#ae93ff',
    500: '#8166ff',
    950: '#000000',
  },
}
SCSS
$custom: #8166ff;
$custom-light: #ae93ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8166ff",
  "rgb": {
    "r": 129,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 250.588,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.61829,
    "c": 0.21733,
    "h": 286.3
  },
  "luminance": 0.2139
}

Semantic roles & 50–950 ramp

primary
#8166FF
secondary
#EEF6CB
accent
#E600BD
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #8166FF

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

Preview Lab → · Contrast checker → · Palette generator →

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