#8166FA#8166FA

#8166FA is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.5% C 0.211 H 286.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8166FA
RGBrgb(129, 102, 250)
HSLhsl(251, 94%, 69%)
HSVhsv(251, 59%, 98%)
CMYKcmyk(48.4%, 59.2%, 0%, 2%)
CIE-LABlab(53.03, 46.85, -70.65)
CIE-LCHlch(53.03, 84.77, 303.55°)
OKLaboklab(61.47% 0.0611 -0.2021)
OKLCHoklch(61.47% 0.211 286.8)
XYZxyz(31.0549, 21.0706, 92.8547)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8166FA #DFFA66
analogous
#6695FA #8166FA #CB66FA
triadic
#8166FA #FA8166 #66FA81
tetradic
#8166FA #FA6695 #DFFA66 #66FACB
square
#8166FA #FA6695 #DFFA66 #66FACB
split-complementary
#8166FA #FACB66 #95FA66
monochromatic
#2F07DE #502BF8 #8166FA #B2A1FC #E3DDFE

Accessibility & contrast

On white

4.03
#8166FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8166FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8166FA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8166FA#FFFFFF#000000##000000
##8166FA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#007AF7
Tritanopia (blue-blind)
#5788A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8166fa;
/* rgb */ color: rgb(129, 102, 250);
/* oklch */ color: oklch(61.5% 0.211 286.8);
Tailwind
colors: {
  custom: {
    50: '#ae93fd',
    500: '#8166fa',
    950: '#000000',
  },
}
SCSS
$custom: #8166fa;
$custom-light: #ae93fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8166fa",
  "rgb": {
    "r": 129,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 250.946,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61467,
    "c": 0.21116,
    "h": 286.8
  },
  "luminance": 0.21072
}

Semantic roles & 50–950 ramp

primary
#8166FA
secondary
#ECF4C8
accent
#E600BC
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #8166FA

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

Preview Lab → · Contrast checker → · Palette generator →

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