#8166F9#8166F9

#8166F9 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.4% C 0.210 H 286.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8166F9
RGBrgb(129, 102, 249)
HSLhsl(251, 92%, 69%)
HSVhsv(251, 59%, 98%)
CMYKcmyk(48.2%, 59%, 0%, 2.4%)
CIE-LABlab(52.96, 46.56, -70.20)
CIE-LCHlch(52.96, 84.24, 303.55°)
OKLaboklab(61.4% 0.0612 -0.2008)
OKLCHoklch(61.4% 0.21 286.9)
XYZxyz(30.8985, 21.0080, 92.0310)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8166F9 #DEF966
analogous
#6695F9 #8166F9 #CA66F9
triadic
#8166F9 #F98166 #66F981
tetradic
#8166F9 #F96695 #DEF966 #66F9CA
square
#8166F9 #F96695 #DEF966 #66F9CA
split-complementary
#8166F9 #F9CA66 #95F966
monochromatic
#2F09DC #512BF7 #8166F9 #B1A1FB #E2DCFE

Accessibility & contrast

On white

4.04
#8166F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8166F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8166F9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8166F9#FFFFFF#000000##000000
##8166F91.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FE
Deuteranopia (green-blind)
#007AF6
Tritanopia (blue-blind)
#5788A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8166f9;
/* rgb */ color: rgb(129, 102, 249);
/* oklch */ color: oklch(61.4% 0.210 286.9);
Tailwind
colors: {
  custom: {
    50: '#ae93fc',
    500: '#8166f9',
    950: '#000000',
  },
}
SCSS
$custom: #8166f9;
$custom-light: #ae93fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8166f9",
  "rgb": {
    "r": 129,
    "g": 102,
    "b": 249
  },
  "hsl": {
    "h": 251.02,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61395,
    "c": 0.20992,
    "h": 286.9
  },
  "luminance": 0.21009
}

Semantic roles & 50–950 ramp

primary
#8166F9
secondary
#EBF3C8
accent
#E600BB
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #8166F9

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

Preview Lab → · Contrast checker → · Palette generator →

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