#8166C8#8166C8

#8166C8 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.2% C 0.147 H 294.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8166C8
RGBrgb(129, 102, 200)
HSLhsl(257, 47%, 59%)
HSVhsv(257, 49%, 78%)
CMYKcmyk(35.5%, 49%, 0%, 21.6%)
CIE-LABlab(49.91, 32.95, -47.46)
CIE-LCHlch(49.91, 57.78, 304.77°)
OKLaboklab(58.16% 0.0598 -0.134)
OKLCHoklch(58.16% 0.147 294.1)
XYZxyz(24.2273, 18.3395, 56.8958)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8166C8 #ADC866
analogous
#667CC8 #8166C8 #B266C8
triadic
#8166C8 #C88166 #66C881
tetradic
#8166C8 #C8667C #ADC866 #66C8B2
square
#8166C8 #C8667C #ADC866 #66C8B2
split-complementary
#8166C8 #C8B266 #7CC866
monochromatic
#472F84 #5F40B1 #8166C8 #A693D8 #CBC0E8

Accessibility & contrast

On white

4.50
#8166C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8166C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8166C8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8166C8#FFFFFF#000000##000000
##8166C81.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4278CB
Deuteranopia (green-blind)
#4775C6
Tritanopia (blue-blind)
#70798E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8166c8;
/* rgb */ color: rgb(129, 102, 200);
/* oklch */ color: oklch(58.2% 0.147 294.1);
Tailwind
colors: {
  custom: {
    50: '#a992d9',
    500: '#8166c8',
    950: '#000000',
  },
}
SCSS
$custom: #8166c8;
$custom-light: #a992d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8166c8",
  "rgb": {
    "r": 129,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 256.531,
    "s": 47.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58158,
    "c": 0.14676,
    "h": 294.1
  },
  "luminance": 0.1834
}

Semantic roles & 50–950 ramp

primary
#8166C8
secondary
#CED8B2
accent
#D751B2
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8166C8

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

Preview Lab → · Contrast checker → · Palette generator →

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