#8166FC#8166FC

#8166FC is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.6% C 0.214 H 286.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8166FC
RGBrgb(129, 102, 252)
HSLhsl(251, 96%, 69%)
HSVhsv(251, 60%, 99%)
CMYKcmyk(48.8%, 59.5%, 0%, 1.2%)
CIE-LABlab(53.16, 47.42, -71.54)
CIE-LCHlch(53.16, 85.82, 303.54°)
OKLaboklab(61.61% 0.061 -0.2047)
OKLCHoklch(61.61% 0.214 286.6)
XYZxyz(31.3702, 21.1967, 94.5150)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8166FC #E1FC66
analogous
#6696FC #8166FC #CC66FC
triadic
#8166FC #FC8166 #66FC81
tetradic
#8166FC #FC6696 #E1FC66 #66FCCC
square
#8166FC #FC6696 #E1FC66 #66FCCC
split-complementary
#8166FC #FCCC66 #96FC66
monochromatic
#2D04E3 #502AFB #8166FC #B2A2FD #E4DEFE

Accessibility & contrast

On white

4.01
#8166FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8166FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8166FC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8166FC#FFFFFF#000000##000000
##8166FC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#007BF9
Tritanopia (blue-blind)
#5589A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8166fc;
/* rgb */ color: rgb(129, 102, 252);
/* oklch */ color: oklch(61.6% 0.214 286.6);
Tailwind
colors: {
  custom: {
    50: '#ae93fe',
    500: '#8166fc',
    950: '#000000',
  },
}
SCSS
$custom: #8166fc;
$custom-light: #ae93fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8166fc",
  "rgb": {
    "r": 129,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 250.8,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61611,
    "c": 0.21363,
    "h": 286.6
  },
  "luminance": 0.21198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8166FC

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

Preview Lab → · Contrast checker → · Palette generator →

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