#8166CA#8166CA

#8166CA is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.3% C 0.149 H 293.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8166CA
RGBrgb(129, 102, 202)
HSLhsl(256, 49%, 60%)
HSVhsv(256, 50%, 79%)
CMYKcmyk(36.1%, 49.5%, 0%, 20.8%)
CIE-LABlab(50.02, 33.49, -48.43)
CIE-LCHlch(50.02, 58.88, 304.66°)
OKLaboklab(58.28% 0.06 -0.1368)
OKLCHoklch(58.28% 0.149 293.7)
XYZxyz(24.4625, 18.4336, 58.1349)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8166CA #AFCA66
analogous
#667DCA #8166CA #B366CA
triadic
#8166CA #CA8166 #66CA81
tetradic
#8166CA #CA667D #AFCA66 #66CAB3
square
#8166CA #CA667D #AFCA66 #66CAB3
split-complementary
#8166CA #CAB366 #7DCA66
monochromatic
#472F87 #5E3EB4 #8166CA #A693DA #CCC1E9

Accessibility & contrast

On white

4.48
#8166CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8166CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8166CA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8166CA#FFFFFF#000000##000000
##8166CA1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4178CE
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#6F7A8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8166ca;
/* rgb */ color: rgb(129, 102, 202);
/* oklch */ color: oklch(58.3% 0.149 293.7);
Tailwind
colors: {
  custom: {
    50: '#a992db',
    500: '#8166ca',
    950: '#000000',
  },
}
SCSS
$custom: #8166ca;
$custom-light: #a992db;
$custom-dark: #000000;
JSON
{
  "hex": "#8166ca",
  "rgb": {
    "r": 129,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 256.2,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58278,
    "c": 0.14942,
    "h": 293.7
  },
  "luminance": 0.18434
}

Semantic roles & 50–950 ramp

primary
#8166CA
secondary
#CFD9B2
accent
#D850B3
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8166CA

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

Preview Lab → · Contrast checker → · Palette generator →

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