#8166EE#8166EE

#8166EE is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.6% C 0.196 H 288.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8166EE
RGBrgb(129, 102, 238)
HSLhsl(252, 80%, 67%)
HSVhsv(252, 57%, 93%)
CMYKcmyk(45.8%, 57.1%, 0%, 6.7%)
CIE-LABlab(52.22, 43.45, -65.27)
CIE-LCHlch(52.22, 78.40, 303.65°)
OKLaboklab(60.62% 0.0614 -0.1863)
OKLCHoklch(60.62% 0.196 288.3)
XYZxyz(29.2328, 20.3417, 83.2584)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8166EE #D3EE66
analogous
#668FEE #8166EE #C566EE
triadic
#8166EE #EE8166 #66EE81
tetradic
#8166EE #EE668F #D3EE66 #66EEC5
square
#8166EE #EE668F #D3EE66 #66EEC5
split-complementary
#8166EE #EEC566 #8FEE66
monochromatic
#3816C4 #542FE8 #8166EE #AE9DF4 #DCD4FA

Accessibility & contrast

On white

4.14
#8166EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8166EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8166EE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8166EE#FFFFFF#000000##000000
##8166EE1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F3
Deuteranopia (green-blind)
#0079EB
Tritanopia (blue-blind)
#5E85A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8166ee;
/* rgb */ color: rgb(129, 102, 238);
/* oklch */ color: oklch(60.6% 0.196 288.3);
Tailwind
colors: {
  custom: {
    50: '#ac92f4',
    500: '#8166ee',
    950: '#000000',
  },
}
SCSS
$custom: #8166ee;
$custom-light: #ac92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8166ee",
  "rgb": {
    "r": 129,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 251.912,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6062,
    "c": 0.19616,
    "h": 288.3
  },
  "luminance": 0.20343
}

Semantic roles & 50–950 ramp

primary
#8166EE
secondary
#E5EEC2
accent
#DC09B2
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8166EE

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

Preview Lab → · Contrast checker → · Palette generator →

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