#9166B0#9166B0

#9166B0 is a mid, moderate violet. Relative luminance 0.187; OKLCH L 58.4% C 0.119 H 309.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9166B0
RGBrgb(145, 102, 176)
HSLhsl(275, 32%, 55%)
HSVhsv(275, 42%, 69%)
CMYKcmyk(17.6%, 42%, 0%, 31%)
CIE-LABlab(50.28, 31.48, -32.89)
CIE-LCHlch(50.28, 45.53, 313.74°)
OKLaboklab(58.42% 0.0763 -0.0912)
OKLCHoklch(58.42% 0.119 309.9)
XYZxyz(24.2635, 18.6574, 43.3889)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166B0 #85B066
analogous
#6C66B0 #9166B0 #B066AA
triadic
#9166B0 #B09166 #66B091
tetradic
#9166B0 #B06C66 #85B066 #66AAB0
square
#9166B0 #B06C66 #85B066 #66AAB0
split-complementary
#9166B0 #AAB066 #66B06C
monochromatic
#523567 #724A8F #9166B0 #AE8EC5 #CBB7DA

Accessibility & contrast

On white

4.44
#9166B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9166B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166B0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166B0#FFFFFF#000000##000000
##9166B01.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5676B3
Deuteranopia (green-blind)
#6178AE
Tritanopia (blue-blind)
#8D7183
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9166b0;
/* rgb */ color: rgb(145, 102, 176);
/* oklch */ color: oklch(58.4% 0.119 309.9);
Tailwind
colors: {
  custom: {
    50: '#b292c8',
    500: '#9166b0',
    950: '#000000',
  },
}
SCSS
$custom: #9166b0;
$custom-light: #b292c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9166b0",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 176
  },
  "hsl": {
    "h": 274.865,
    "s": 31.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58416,
    "c": 0.11891,
    "h": 309.9
  },
  "luminance": 0.18657
}

Semantic roles & 50–950 ramp

primary
#9166B0
secondary
#B6C9A9
accent
#C8608B
background
#FBF9FC
surface
#F6F1F8
border
#D0CBD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #9166B0

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

Preview Lab → · Contrast checker → · Palette generator →

#9166B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva